ffmpeg.c:3285: error: Null Dereference
  pointer `st` last assigned on line 3280 could be null and is dereferenced at line 3285, column 35.

ffmpeg.c:3274:1: start of procedure new_audio_stream()
3272. }
3273. 
3274. static void new_audio_stream(AVFormatContext *oc)
      ^
3275. {
3276.     AVStream *st;

ffmpeg.c:3280:5: 
3278.     enum CodecID codec_id;
3279. 
3280.     st = av_new_stream(oc, oc->nb_streams);
          ^
3281.     if (!st) {
3282.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2447:1: start of procedure av_new_stream()
  2445. }
  2446. 
  2447. AVStream *av_new_stream(AVFormatContext *s, int id)
        ^
  2448. {
  2449.     AVStream *st;

libavformat/utils.c:2452:9: Taking true branch
  2450.     int i;
  2451. 
  2452.     if (s->nb_streams >= MAX_STREAMS)
                ^
  2453.         return NULL;
  2454. 

libavformat/utils.c:2453:9: 
  2451. 
  2452.     if (s->nb_streams >= MAX_STREAMS)
  2453.         return NULL;
                ^
  2454. 
  2455.     st = av_mallocz(sizeof(AVStream));

libavformat/utils.c:2487:1: return from a call to av_new_stream
  2485.     s->streams[s->nb_streams++] = st;
  2486.     return st;
  2487. }
        ^
  2488. 
  2489. AVProgram *av_new_program(AVFormatContext *ac, int id)

ffmpeg.c:3281:10: Taking true branch
3279. 
3280.     st = av_new_stream(oc, oc->nb_streams);
3281.     if (!st) {
               ^
3282.         fprintf(stderr, "Could not alloc stream\n");
3283.         av_exit(1);

ffmpeg.c:3282:9: 
3280.     st = av_new_stream(oc, oc->nb_streams);
3281.     if (!st) {
3282.         fprintf(stderr, "Could not alloc stream\n");
              ^
3283.         av_exit(1);
3284.     }

ffmpeg.c:3283:9: Skipping av_exit(): empty list of specs
3281.     if (!st) {
3282.         fprintf(stderr, "Could not alloc stream\n");
3283.         av_exit(1);
              ^
3284.     }
3285.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);

ffmpeg.c:3285:5: 
3283.         av_exit(1);
3284.     }
3285.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);
          ^
3286. 
3287.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= audio_bitstream_filters;
