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

ffmpeg.c:3210:1: start of procedure new_audio_stream()
3208. }
3209. 
3210. static void new_audio_stream(AVFormatContext *oc)
      ^
3211. {
3212.     AVStream *st;

ffmpeg.c:3216:5: 
3214.     enum CodecID codec_id;
3215. 
3216.     st = av_new_stream(oc, oc->nb_streams);
          ^
3217.     if (!st) {
3218.         fprintf(stderr, "Could not alloc stream\n");

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

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

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

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

ffmpeg.c:3217:10: Taking true branch
3215. 
3216.     st = av_new_stream(oc, oc->nb_streams);
3217.     if (!st) {
               ^
3218.         fprintf(stderr, "Could not alloc stream\n");
3219.         av_exit(1);

ffmpeg.c:3218:9: 
3216.     st = av_new_stream(oc, oc->nb_streams);
3217.     if (!st) {
3218.         fprintf(stderr, "Could not alloc stream\n");
              ^
3219.         av_exit(1);
3220.     }

ffmpeg.c:3219:9: Skipping av_exit(): empty list of specs
3217.     if (!st) {
3218.         fprintf(stderr, "Could not alloc stream\n");
3219.         av_exit(1);
              ^
3220.     }
3221.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);

ffmpeg.c:3221:5: 
3219.         av_exit(1);
3220.     }
3221.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);
          ^
3222. 
3223.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= audio_bitstream_filters;
