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

libavformat/movenc.c:2308:9: Call
2306. 
2307.     if (mov->chapter_track)
2308.         av_freep(&mov->tracks[mov->chapter_track].enc);
              ^
2309. 
2310.     for (i=0; i<mov->nb_streams; i++) {

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

libavformat/movenc.c:2312:13: Call
2310.     for (i=0; i<mov->nb_streams; i++) {
2311.         if (mov->tracks[i].tag == MKTAG('r','t','p',' '))
2312.             ff_mov_close_hinting(&mov->tracks[i]);
                  ^
2313.         av_freep(&mov->tracks[i].cluster);
2314. 

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

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

libavformat/utils.c:2548:1: <LHS trace>
2546. }
2547. 
2548. void avformat_free_context(AVFormatContext *s)
      ^
2549. {
2550.     int i;

libavformat/utils.c:2548:1: Parameter `s->nb_programs`
    2546. }
    2547. 
    2548. void avformat_free_context(AVFormatContext *s)
          ^
    2549. {
    2550.     int i;

libavformat/utils.c:2573:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `ff_mov_close_hinting` 
    2571.         av_free(st);
    2572.     }
    2573.     for(i=s->nb_programs-1; i>=0; i--) {
                  ^
    2574.         av_dict_free(&s->programs[i]->metadata);
    2575.         av_freep(&s->programs[i]->stream_index);
