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

ffmpeg.c:3433:5: Call
3431.     }
3432.     oc = output_files[nb_output_files - 1];
3433.     new_subtitle_stream(oc);
          ^
3434. }
3435. 

ffmpeg.c:3363:1: <LHS trace>
3361. }
3362. 
3363. static void new_subtitle_stream(AVFormatContext *oc)
      ^
3364. {
3365.     AVStream *st;

ffmpeg.c:3363:1: Parameter `oc->nb_streams`
  3361. }
  3362. 
  3363. static void new_subtitle_stream(AVFormatContext *oc)
        ^
  3364. {
  3365.     AVStream *st;

ffmpeg.c:3368:10: Call
  3366.     AVCodecContext *subtitle_enc;
  3367. 
  3368.     st = av_new_stream(oc, oc->nb_streams);
                 ^
  3369.     if (!st) {
  3370.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2453:1: Parameter `s->nb_streams`
    2451. }
    2452. 
    2453. AVStream *av_new_stream(AVFormatContext *s, int id)
          ^
    2454. {
    2455.     AVStream *st;

ffmpeg.c:3375:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `new_subtitle_stream` 
  3373.     avcodec_get_context_defaults2(st->codec, AVMEDIA_TYPE_SUBTITLE);
  3374. 
  3375.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= subtitle_bitstream_filters;
            ^
  3376.     subtitle_bitstream_filters= NULL;
  3377. 
