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

ffmpeg.c:3335:5: Call
3333.     }
3334.     oc = output_files[nb_output_files - 1];
3335.     new_video_stream(oc);
          ^
3336. }
3337. 

ffmpeg.c:3050:1: <LHS trace>
3048. }
3049. 
3050. static void new_video_stream(AVFormatContext *oc)
      ^
3051. {
3052.     AVStream *st;

ffmpeg.c:3050:1: Parameter `oc->nb_streams`
  3048. }
  3049. 
  3050. static void new_video_stream(AVFormatContext *oc)
        ^
  3051. {
  3052.     AVStream *st;

ffmpeg.c:3056:10: Call
  3054.     enum CodecID codec_id;
  3055. 
  3056.     st = av_new_stream(oc, oc->nb_streams);
                 ^
  3057.     if (!st) {
  3058.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2354:1: Parameter `s->nb_streams`
    2352. }
    2353. 
    2354. AVStream *av_new_stream(AVFormatContext *s, int id)
          ^
    2355. {
    2356.     AVStream *st;

ffmpeg.c:3062:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `new_video_stream` 
  3060.     }
  3061.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_VIDEO);
  3062.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= video_bitstream_filters;
            ^
  3063.     video_bitstream_filters= NULL;
  3064. 
