libavformat/movenc.c:2220: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `ff_mov_close_hinting`.

libavformat/movenc.c:2216:9: Call
2214. 
2215.     if (mov->chapter_track)
2216.         av_freep(&mov->tracks[mov->chapter_track].enc);
              ^
2217. 
2218.     for (i=0; i<mov->nb_streams; i++) {

libavutil/mem.c:153:5: Assignment
  151.     void **ptr= (void**)arg;
  152.     av_free(*ptr);
  153.     *ptr = NULL;
           ^
  154. }
  155. 

libavformat/movenc.c:2220:13: Call
2218.     for (i=0; i<mov->nb_streams; i++) {
2219.         if (mov->tracks[i].tag == MKTAG('r','t','p',' '))
2220.             ff_mov_close_hinting(&mov->tracks[i]);
                  ^
2221.         av_freep(&mov->tracks[i].cluster);
2222. 

libavformat/movenchint.c:441:1: Parameter `track->rtp_ctx->nb_programs`
  439. }
  440. 
  441. void ff_mov_close_hinting(MOVTrack *track) {
       ^
  442.     AVFormatContext* rtp_ctx = track->rtp_ctx;
  443.     uint8_t *ptr;

libavformat/movenchint.c:454:5: Call
  452.         av_free(ptr);
  453.     }
  454.     avformat_free_context(rtp_ctx);
           ^
  455. }
  456. 

libavformat/utils.c:2565:1: <LHS trace>
2563. }
2564. 
2565. void avformat_free_context(AVFormatContext *s)
      ^
2566. {
2567.     int i;

libavformat/utils.c:2565:1: Parameter `s->nb_programs`
    2563. }
    2564. 
    2565. void avformat_free_context(AVFormatContext *s)
          ^
    2566. {
    2567.     int i;

libavformat/utils.c:2589:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `ff_mov_close_hinting` 
    2587.         av_free(st);
    2588.     }
    2589.     for(i=s->nb_programs-1; i>=0; i--) {
                  ^
    2590. #if FF_API_OLD_METADATA
    2591.         av_freep(&s->programs[i]->provider_name);
