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

ffmpeg.c:3192:5: Call
3190.     }
3191.     oc = output_files[nb_output_files - 1];
3192.     new_subtitle_stream(oc);
          ^
3193. }
3194. 

ffmpeg.c:3127:1: <LHS trace>
3125. }
3126. 
3127. static void new_subtitle_stream(AVFormatContext *oc)
      ^
3128. {
3129.     AVStream *st;

ffmpeg.c:3127:1: Parameter `oc->nb_streams`
  3125. }
  3126. 
  3127. static void new_subtitle_stream(AVFormatContext *oc)
        ^
  3128. {
  3129.     AVStream *st;

ffmpeg.c:3132:10: Call
  3130.     AVCodecContext *subtitle_enc;
  3131. 
  3132.     st = av_new_stream(oc, oc->nb_streams);
                 ^
  3133.     if (!st) {
  3134.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2245:1: Parameter `s->nb_streams`
    2243. }
    2244. 
    2245. AVStream *av_new_stream(AVFormatContext *s, int id)
          ^
    2246. {
    2247.     AVStream *st;

ffmpeg.c:3139:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `new_subtitle_stream` 
  3137.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_SUBTITLE);
  3138. 
  3139.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= subtitle_bitstream_filters;
            ^
  3140.     subtitle_bitstream_filters= NULL;
  3141. 
