libavformat/mov.c:3043: error: Integer Overflow L1
  ([-oo, 0] - 1):unsigned32 by call to `avformat_free_context`.

libavformat/mov.c:3039:9: Call
3037.         av_freep(&sc->stps_data);
3038.         av_freep(&sc->rap_group);
3039.         av_freep(&sc->display_matrix);
              ^
3040.     }
3041. 

libavutil/mem.c:202:5: Assignment
  200.     void **ptr = (void **)arg;
  201.     av_free(*ptr);
  202.     *ptr = NULL;
           ^
  203. }
  204. 

libavformat/mov.c:3043:9: Call
3041. 
3042.     if (mov->dv_demux) {
3043.         avformat_free_context(mov->dv_fctx);
              ^
3044.         mov->dv_fctx = NULL;
3045.     }

libavformat/utils.c:2571:1: <LHS trace>
2569. }
2570. 
2571. void avformat_free_context(AVFormatContext *s)
      ^
2572. {
2573.     int i, j;

libavformat/utils.c:2571:1: Parameter `s->nb_chapters`
  2569. }
  2570. 
  2571. void avformat_free_context(AVFormatContext *s)
        ^
  2572. {
  2573.     int i, j;

libavformat/utils.c:2611:12: Binary operation: ([-oo, 0] - 1):unsigned32 by call to `avformat_free_context` 
  2609.     av_freep(&s->programs);
  2610.     av_freep(&s->priv_data);
  2611.     while (s->nb_chapters--) {
                   ^
  2612.         av_dict_free(&s->chapters[s->nb_chapters]->metadata);
  2613.         av_free(s->chapters[s->nb_chapters]);
