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

ffmpeg.c:3177:1: start of procedure new_audio_stream()
3175. }
3176. 
3177. static void new_audio_stream(AVFormatContext *oc)
      ^
3178. {
3179.     AVStream *st;

ffmpeg.c:3183:5: 
3181.     enum CodecID codec_id;
3182. 
3183.     st = av_new_stream(oc, oc->nb_streams);
          ^
3184.     if (!st) {
3185.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2366:1: start of procedure av_new_stream()
  2364. }
  2365. 
  2366. AVStream *av_new_stream(AVFormatContext *s, int id)
        ^
  2367. {
  2368.     AVStream *st;

libavformat/utils.c:2371:9: Taking true branch
  2369.     int i;
  2370. 
  2371.     if (s->nb_streams >= MAX_STREAMS)
                ^
  2372.         return NULL;
  2373. 

libavformat/utils.c:2372:9: 
  2370. 
  2371.     if (s->nb_streams >= MAX_STREAMS)
  2372.         return NULL;
                ^
  2373. 
  2374.     st = av_mallocz(sizeof(AVStream));

libavformat/utils.c:2406:1: return from a call to av_new_stream
  2404.     s->streams[s->nb_streams++] = st;
  2405.     return st;
  2406. }
        ^
  2407. 
  2408. AVProgram *av_new_program(AVFormatContext *ac, int id)

ffmpeg.c:3184:10: Taking true branch
3182. 
3183.     st = av_new_stream(oc, oc->nb_streams);
3184.     if (!st) {
               ^
3185.         fprintf(stderr, "Could not alloc stream\n");
3186.         av_exit(1);

ffmpeg.c:3185:9: 
3183.     st = av_new_stream(oc, oc->nb_streams);
3184.     if (!st) {
3185.         fprintf(stderr, "Could not alloc stream\n");
              ^
3186.         av_exit(1);
3187.     }

ffmpeg.c:3186:9: Skipping av_exit(): empty list of specs
3184.     if (!st) {
3185.         fprintf(stderr, "Could not alloc stream\n");
3186.         av_exit(1);
              ^
3187.     }
3188.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);

ffmpeg.c:3188:5: 
3186.         av_exit(1);
3187.     }
3188.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);
          ^
3189. 
3190.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= audio_bitstream_filters;
