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

ffmpeg.c:3199:13: Unknown value from: fprintf
3197.         }
3198.         if(!found){
3199.             fprintf(stderr, "Specified program id not found\n");
                  ^
3200.             ffmpeg_exit(1);
3201.         }

ffmpeg.c:3229:9: Call
3227.     if (ret < 0 && verbose >= 0) {
3228.         fprintf(stderr, "%s: could not find codec parameters\n", filename);
3229.         av_close_input_file(ic);
              ^
3230.         ffmpeg_exit(1);
3231.     }

libavformat/utils.c:2590:1: Parameter `s->nb_programs`
  2588. }
  2589. 
  2590. void av_close_input_file(AVFormatContext *s)
        ^
  2591. {
  2592.     AVIOContext *pb = s->iformat->flags & AVFMT_NOFILE ? NULL : s->pb;

libavformat/utils.c:2593:5: Call
  2591. {
  2592.     AVIOContext *pb = s->iformat->flags & AVFMT_NOFILE ? NULL : s->pb;
  2593.     av_close_input_stream(s);
            ^
  2594.     if (pb)
  2595.         avio_close(pb);

libavformat/utils.c:2540:1: Parameter `s->nb_programs`
    2538. }
    2539. 
    2540. void av_close_input_stream(AVFormatContext *s)
          ^
    2541. {
    2542.     flush_packet_queue(s);

libavformat/utils.c:2545:5: Call
    2543.     if (s->iformat->read_close)
    2544.         s->iformat->read_close(s);
    2545.     avformat_free_context(s);
              ^
    2546. }
    2547. 

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 `av_close_input_file` 
      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);
