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

libavformat/movenc.c:2334:9: Call
2332. 
2333.     if (mov->chapter_track)
2334.         av_freep(&mov->tracks[mov->chapter_track].enc);
              ^
2335. 
2336.     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:2338:13: Call
2336.     for (i=0; i<mov->nb_streams; i++) {
2337.         if (mov->tracks[i].tag == MKTAG('r','t','p',' '))
2338.             ff_mov_close_hinting(&mov->tracks[i]);
                  ^
2339.         av_freep(&mov->tracks[i].cluster);
2340. 

libavformat/movenchint.c:447:1: Parameter `track->rtp_ctx->nb_programs`
  445. }
  446. 
  447. void ff_mov_close_hinting(MOVTrack *track) {
       ^
  448.     AVFormatContext* rtp_ctx = track->rtp_ctx;
  449.     uint8_t *ptr;

libavformat/movenchint.c:460:5: Call
  458.         av_free(ptr);
  459.     }
  460.     avformat_free_context(rtp_ctx);
           ^
  461. }
  462. 

libavformat/utils.c:2645:1: <LHS trace>
2643. #endif
2644. 
2645. void avformat_free_context(AVFormatContext *s)
      ^
2646. {
2647.     int i;

libavformat/utils.c:2645:1: Parameter `s->nb_programs`
    2643. #endif
    2644. 
    2645. void avformat_free_context(AVFormatContext *s)
          ^
    2646. {
    2647.     int i;

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