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

ffmpeg.c:3189:1: start of procedure new_audio_stream()
3187. }
3188. 
3189. static void new_audio_stream(AVFormatContext *oc)
      ^
3190. {
3191.     AVStream *st;

ffmpeg.c:3195:5: 
3193.     enum CodecID codec_id;
3194. 
3195.     st = av_new_stream(oc, oc->nb_streams);
          ^
3196.     if (!st) {
3197.         fprintf(stderr, "Could not alloc stream\n");

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

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

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

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

ffmpeg.c:3196:10: Taking true branch
3194. 
3195.     st = av_new_stream(oc, oc->nb_streams);
3196.     if (!st) {
               ^
3197.         fprintf(stderr, "Could not alloc stream\n");
3198.         av_exit(1);

ffmpeg.c:3197:9: 
3195.     st = av_new_stream(oc, oc->nb_streams);
3196.     if (!st) {
3197.         fprintf(stderr, "Could not alloc stream\n");
              ^
3198.         av_exit(1);
3199.     }

ffmpeg.c:3198:9: Skipping av_exit(): empty list of specs
3196.     if (!st) {
3197.         fprintf(stderr, "Could not alloc stream\n");
3198.         av_exit(1);
              ^
3199.     }
3200.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);

ffmpeg.c:3200:5: 
3198.         av_exit(1);
3199.     }
3200.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);
          ^
3201. 
3202.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= audio_bitstream_filters;
