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

ffmpeg.c:3195:1: start of procedure new_audio_stream()
3193. }
3194. 
3195. static void new_audio_stream(AVFormatContext *oc)
      ^
3196. {
3197.     AVStream *st;

ffmpeg.c:3201:5: 
3199.     enum CodecID codec_id;
3200. 
3201.     st = av_new_stream(oc, oc->nb_streams);
          ^
3202.     if (!st) {
3203.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2382:1: start of procedure av_new_stream()
  2380. }
  2381. 
  2382. AVStream *av_new_stream(AVFormatContext *s, int id)
        ^
  2383. {
  2384.     AVStream *st;

libavformat/utils.c:2387:9: Taking true branch
  2385.     int i;
  2386. 
  2387.     if (s->nb_streams >= MAX_STREAMS)
                ^
  2388.         return NULL;
  2389. 

libavformat/utils.c:2388:9: 
  2386. 
  2387.     if (s->nb_streams >= MAX_STREAMS)
  2388.         return NULL;
                ^
  2389. 
  2390.     st = av_mallocz(sizeof(AVStream));

libavformat/utils.c:2422:1: return from a call to av_new_stream
  2420.     s->streams[s->nb_streams++] = st;
  2421.     return st;
  2422. }
        ^
  2423. 
  2424. AVProgram *av_new_program(AVFormatContext *ac, int id)

ffmpeg.c:3202:10: Taking true branch
3200. 
3201.     st = av_new_stream(oc, oc->nb_streams);
3202.     if (!st) {
               ^
3203.         fprintf(stderr, "Could not alloc stream\n");
3204.         av_exit(1);

ffmpeg.c:3203:9: 
3201.     st = av_new_stream(oc, oc->nb_streams);
3202.     if (!st) {
3203.         fprintf(stderr, "Could not alloc stream\n");
              ^
3204.         av_exit(1);
3205.     }

ffmpeg.c:3204:9: Skipping av_exit(): empty list of specs
3202.     if (!st) {
3203.         fprintf(stderr, "Could not alloc stream\n");
3204.         av_exit(1);
              ^
3205.     }
3206.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);

ffmpeg.c:3206:5: 
3204.         av_exit(1);
3205.     }
3206.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);
          ^
3207. 
3208.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= audio_bitstream_filters;
