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

libavformat/movenc.c:3757:9: Call
3755. 
3756.     if (mov->chapter_track)
3757.         avcodec_parameters_free(&mov->tracks[mov->chapter_track].par);
              ^
3758. 
3759.     for (i = 0; i < mov->nb_streams; i++) {

libavcodec/utils.c:2482:1: Parameter `(*ppar)->sample_aspect_ratio.num`
  2480. }
  2481. 
  2482. void avcodec_parameters_free(AVCodecParameters **ppar)
        ^
  2483. {
  2484.     AVCodecParameters *par = *ppar;

libavformat/movenc.c:3761:13: Call
3759.     for (i = 0; i < mov->nb_streams; i++) {
3760.         if (mov->tracks[i].tag == MKTAG('r','t','p',' '))
3761.             ff_mov_close_hinting(&mov->tracks[i]);
                  ^
3762.         av_freep(&mov->tracks[i].cluster);
3763.         av_freep(&mov->tracks[i].frag_info);

libavformat/movenchint.c:458:1: Parameter `track->rtp_ctx->nb_programs`
  456. }
  457. 
  458. void ff_mov_close_hinting(MOVTrack *track)
       ^
  459. {
  460.     AVFormatContext *rtp_ctx = track->rtp_ctx;

libavformat/movenchint.c:470:5: Call
  468.         ffio_free_dyn_buf(&rtp_ctx->pb);
  469.     }
  470.     avformat_free_context(rtp_ctx);
           ^
  471. }

libavformat/utils.c:2598:1: <LHS trace>
2596. }
2597. 
2598. void avformat_free_context(AVFormatContext *s)
      ^
2599. {
2600.     int i;

libavformat/utils.c:2598:1: Parameter `s->nb_programs`
    2596. }
    2597. 
    2598. void avformat_free_context(AVFormatContext *s)
          ^
    2599. {
    2600.     int i;

libavformat/utils.c:2612:10: Binary operation: ([0, +oo] - 1):unsigned32 by call to `ff_mov_close_hinting` 
    2610.         free_stream(&s->streams[i]);
    2611. 
    2612.     for (i = s->nb_programs - 1; i >= 0; i--) {
                   ^
    2613.         av_dict_free(&s->programs[i]->metadata);
    2614.         av_freep(&s->programs[i]->stream_index);
