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

ffmpeg.c:3220:1: start of procedure new_audio_stream()
3218. }
3219. 
3220. static void new_audio_stream(AVFormatContext *oc)
      ^
3221. {
3222.     AVStream *st;

ffmpeg.c:3226:5: 
3224.     enum CodecID codec_id;
3225. 
3226.     st = av_new_stream(oc, oc->nb_streams);
          ^
3227.     if (!st) {
3228.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2401:1: start of procedure av_new_stream()
  2399. }
  2400. 
  2401. AVStream *av_new_stream(AVFormatContext *s, int id)
        ^
  2402. {
  2403.     AVStream *st;

libavformat/utils.c:2406:9: Taking true branch
  2404.     int i;
  2405. 
  2406.     if (s->nb_streams >= MAX_STREAMS)
                ^
  2407.         return NULL;
  2408. 

libavformat/utils.c:2407:9: 
  2405. 
  2406.     if (s->nb_streams >= MAX_STREAMS)
  2407.         return NULL;
                ^
  2408. 
  2409.     st = av_mallocz(sizeof(AVStream));

libavformat/utils.c:2441:1: return from a call to av_new_stream
  2439.     s->streams[s->nb_streams++] = st;
  2440.     return st;
  2441. }
        ^
  2442. 
  2443. AVProgram *av_new_program(AVFormatContext *ac, int id)

ffmpeg.c:3227:10: Taking true branch
3225. 
3226.     st = av_new_stream(oc, oc->nb_streams);
3227.     if (!st) {
               ^
3228.         fprintf(stderr, "Could not alloc stream\n");
3229.         av_exit(1);

ffmpeg.c:3228:9: 
3226.     st = av_new_stream(oc, oc->nb_streams);
3227.     if (!st) {
3228.         fprintf(stderr, "Could not alloc stream\n");
              ^
3229.         av_exit(1);
3230.     }

ffmpeg.c:3229:9: Skipping av_exit(): empty list of specs
3227.     if (!st) {
3228.         fprintf(stderr, "Could not alloc stream\n");
3229.         av_exit(1);
              ^
3230.     }
3231.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);

ffmpeg.c:3231:5: 
3229.         av_exit(1);
3230.     }
3231.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);
          ^
3232. 
3233.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= audio_bitstream_filters;
