ffmpeg.c:710: error: Integer Overflow L2
  ([0, +oo] - 1):unsigned32 by call to `av_close_input_file`.

ffmpeg.c:698:17: Unknown value from: choose_pixel_fmt
696.                 st->stream_copy = 1;
697.             } else
698.                 choose_pixel_fmt(st, codec);
                     ^
699.         }
700. 

ffmpeg.c:710:5: Call
708.         s->timestamp = av_gettime();
709. 
710.     av_close_input_file(ic);
         ^
711.     return 0;
712. }

libavformat/utils.c:2621:1: Parameter `s->nb_programs`
  2619. }
  2620. 
  2621. void av_close_input_file(AVFormatContext *s)
        ^
  2622. {
  2623.     AVIOContext *pb = s->iformat->flags & AVFMT_NOFILE ? NULL : s->pb;

libavformat/utils.c:2624:5: Call
  2622. {
  2623.     AVIOContext *pb = s->iformat->flags & AVFMT_NOFILE ? NULL : s->pb;
  2624.     av_close_input_stream(s);
            ^
  2625.     if (pb)
  2626.         url_fclose(pb);

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

libavformat/utils.c:2570:5: Call
    2568.     if (s->iformat->read_close)
    2569.         s->iformat->read_close(s);
    2570.     avformat_free_context(s);
              ^
    2571. }
    2572. 

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

libavformat/utils.c:2573:1: Parameter `s->nb_programs`
      2571. }
      2572. 
      2573. void avformat_free_context(AVFormatContext *s)
            ^
      2574. {
      2575.     int i;

libavformat/utils.c:2597:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `av_close_input_file` 
      2595.         av_free(st);
      2596.     }
      2597.     for(i=s->nb_programs-1; i>=0; i--) {
                    ^
      2598. #if FF_API_OLD_METADATA
      2599.         av_freep(&s->programs[i]->provider_name);
