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

ffmpeg.c:3079:1: start of procedure new_audio_stream()
3077. }
3078. 
3079. static void new_audio_stream(AVFormatContext *oc)
      ^
3080. {
3081.     AVStream *st;

ffmpeg.c:3085:5: 
3083.     int codec_id;
3084. 
3085.     st = av_new_stream(oc, oc->nb_streams);
          ^
3086.     if (!st) {
3087.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2318:1: start of procedure av_new_stream()
  2316. }
  2317. 
  2318. AVStream *av_new_stream(AVFormatContext *s, int id)
        ^
  2319. {
  2320.     AVStream *st;

libavformat/utils.c:2323:9: Taking true branch
  2321.     int i;
  2322. 
  2323.     if (s->nb_streams >= MAX_STREAMS)
                ^
  2324.         return NULL;
  2325. 

libavformat/utils.c:2324:9: 
  2322. 
  2323.     if (s->nb_streams >= MAX_STREAMS)
  2324.         return NULL;
                ^
  2325. 
  2326.     st = av_mallocz(sizeof(AVStream));

libavformat/utils.c:2356:1: return from a call to av_new_stream
  2354.     s->streams[s->nb_streams++] = st;
  2355.     return st;
  2356. }
        ^
  2357. 
  2358. AVProgram *av_new_program(AVFormatContext *ac, int id)

ffmpeg.c:3086:10: Taking true branch
3084. 
3085.     st = av_new_stream(oc, oc->nb_streams);
3086.     if (!st) {
               ^
3087.         fprintf(stderr, "Could not alloc stream\n");
3088.         av_exit(1);

ffmpeg.c:3087:9: 
3085.     st = av_new_stream(oc, oc->nb_streams);
3086.     if (!st) {
3087.         fprintf(stderr, "Could not alloc stream\n");
              ^
3088.         av_exit(1);
3089.     }

ffmpeg.c:3088:9: Skipping av_exit(): empty list of specs
3086.     if (!st) {
3087.         fprintf(stderr, "Could not alloc stream\n");
3088.         av_exit(1);
              ^
3089.     }
3090.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);

ffmpeg.c:3090:5: 
3088.         av_exit(1);
3089.     }
3090.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);
          ^
3091. 
3092.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= audio_bitstream_filters;
