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

ffmpeg.c:3292:1: start of procedure new_audio_stream()
3290. }
3291. 
3292. static void new_audio_stream(AVFormatContext *oc)
      ^
3293. {
3294.     AVStream *st;

ffmpeg.c:3298:5: 
3296.     enum CodecID codec_id;
3297. 
3298.     st = av_new_stream(oc, oc->nb_streams);
          ^
3299.     if (!st) {
3300.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2453:1: start of procedure av_new_stream()
  2451. }
  2452. 
  2453. AVStream *av_new_stream(AVFormatContext *s, int id)
        ^
  2454. {
  2455.     AVStream *st;

libavformat/utils.c:2458:9: Taking true branch
  2456.     int i;
  2457. 
  2458.     if (s->nb_streams >= MAX_STREAMS)
                ^
  2459.         return NULL;
  2460. 

libavformat/utils.c:2459:9: 
  2457. 
  2458.     if (s->nb_streams >= MAX_STREAMS)
  2459.         return NULL;
                ^
  2460. 
  2461.     st = av_mallocz(sizeof(AVStream));

libavformat/utils.c:2493:1: return from a call to av_new_stream
  2491.     s->streams[s->nb_streams++] = st;
  2492.     return st;
  2493. }
        ^
  2494. 
  2495. AVProgram *av_new_program(AVFormatContext *ac, int id)

ffmpeg.c:3299:10: Taking true branch
3297. 
3298.     st = av_new_stream(oc, oc->nb_streams);
3299.     if (!st) {
               ^
3300.         fprintf(stderr, "Could not alloc stream\n");
3301.         av_exit(1);

ffmpeg.c:3300:9: 
3298.     st = av_new_stream(oc, oc->nb_streams);
3299.     if (!st) {
3300.         fprintf(stderr, "Could not alloc stream\n");
              ^
3301.         av_exit(1);
3302.     }

ffmpeg.c:3301:9: Skipping av_exit(): empty list of specs
3299.     if (!st) {
3300.         fprintf(stderr, "Could not alloc stream\n");
3301.         av_exit(1);
              ^
3302.     }
3303.     avcodec_get_context_defaults2(st->codec, AVMEDIA_TYPE_AUDIO);

ffmpeg.c:3303:5: 
3301.         av_exit(1);
3302.     }
3303.     avcodec_get_context_defaults2(st->codec, AVMEDIA_TYPE_AUDIO);
          ^
3304. 
3305.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= audio_bitstream_filters;
