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

ffmpeg.c:3134:5: Call
3132.     }
3133.     oc = output_files[nb_output_files - 1];
3134.     new_subtitle_stream(oc);
          ^
3135. }
3136. 

ffmpeg.c:3062:1: <LHS trace>
3060. }
3061. 
3062. static void new_subtitle_stream(AVFormatContext *oc)
      ^
3063. {
3064.     AVStream *st;

ffmpeg.c:3062:1: Parameter `oc->nb_streams`
  3060. }
  3061. 
  3062. static void new_subtitle_stream(AVFormatContext *oc)
        ^
  3063. {
  3064.     AVStream *st;

ffmpeg.c:3068:10: Call
  3066.     int i;
  3067. 
  3068.     st = av_new_stream(oc, oc->nb_streams);
                 ^
  3069.     if (!st) {
  3070.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2160:1: Parameter `s->nb_streams`
    2158. }
    2159. 
    2160. AVStream *av_new_stream(AVFormatContext *s, int id)
          ^
    2161. {
    2162.     AVStream *st;

ffmpeg.c:3075:5: Binary operation: ([0, +oo] - 1):unsigned32 by call to `new_subtitle_stream` 
  3073.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_SUBTITLE);
  3074. 
  3075.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= subtitle_bitstream_filters;
            ^
  3076.     subtitle_bitstream_filters= NULL;
  3077. 
