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

ffmpeg.c:3211:9: Call
3209.                           avcodec_opts[AVMEDIA_TYPE_AUDIO   ]->strict_std_compliance);
3210.     ic->subtitle_codec_id=
3211.         find_codec_or_die(subtitle_codec_name, AVMEDIA_TYPE_SUBTITLE, 0,
              ^
3212.                           avcodec_opts[AVMEDIA_TYPE_SUBTITLE]->strict_std_compliance);
3213.     ic->flags |= AVFMT_FLAG_NONBLOCK;

ffmpeg.c:3129:9: Assignment
  3127. 
  3128.     if(!name)
  3129.         return CODEC_ID_NONE;
                ^
  3130.     codec = encoder ?
  3131.         avcodec_find_encoder_by_name(name) :

ffmpeg.c:3210:5: Assignment
3208.         find_codec_or_die(audio_codec_name   , AVMEDIA_TYPE_AUDIO   , 0,
3209.                           avcodec_opts[AVMEDIA_TYPE_AUDIO   ]->strict_std_compliance);
3210.     ic->subtitle_codec_id=
          ^
3211.         find_codec_or_die(subtitle_codec_name, AVMEDIA_TYPE_SUBTITLE, 0,
3212.                           avcodec_opts[AVMEDIA_TYPE_SUBTITLE]->strict_std_compliance);

ffmpeg.c:3213:5: Assignment
3211.         find_codec_or_die(subtitle_codec_name, AVMEDIA_TYPE_SUBTITLE, 0,
3212.                           avcodec_opts[AVMEDIA_TYPE_SUBTITLE]->strict_std_compliance);
3213.     ic->flags |= AVFMT_FLAG_NONBLOCK;
          ^
3214. 
3215.     /* open the input file with generic libav function */

ffmpeg.c:3216:11: Call
3214. 
3215.     /* open the input file with generic libav function */
3216.     err = avformat_open_input(&ic, filename, file_iformat, &format_opts);
                ^
3217.     if (err < 0) {
3218.         print_error(filename, err);

libavformat/utils.c:585:1: Parameter `(*ps)->nb_programs`
  583. }
  584. 
  585. int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options)
       ^
  586. {
  587.     AVFormatContext *s = *ps;

libavformat/utils.c:655:5: Call
  653.     if (s->pb && !(s->flags & AVFMT_FLAG_CUSTOM_IO))
  654.         avio_close(s->pb);
  655.     avformat_free_context(s);
           ^
  656.     *ps = NULL;
  657.     return ret;

libavformat/utils.c:2584:1: <LHS trace>
2582. }
2583. 
2584. void avformat_free_context(AVFormatContext *s)
      ^
2585. {
2586.     int i;

libavformat/utils.c:2584:1: Parameter `s->nb_programs`
    2582. }
    2583. 
    2584. void avformat_free_context(AVFormatContext *s)
          ^
    2585. {
    2586.     int i;

libavformat/utils.c:2609:9: Binary operation: ([0, +oo] - 1):unsigned32 by call to `avformat_open_input` 
    2607.         av_free(st);
    2608.     }
    2609.     for(i=s->nb_programs-1; i>=0; i--) {
                  ^
    2610.         av_dict_free(&s->programs[i]->metadata);
    2611.         av_freep(&s->programs[i]->stream_index);
