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

ffmpeg.c:3052:1: start of procedure new_audio_stream()
3050. }
3051. 
3052. static void new_audio_stream(AVFormatContext *oc)
      ^
3053. {
3054.     AVStream *st;

ffmpeg.c:3058:5: 
3056.     int codec_id, i;
3057. 
3058.     st = av_new_stream(oc, oc->nb_streams);
          ^
3059.     if (!st) {
3060.         fprintf(stderr, "Could not alloc stream\n");

libavformat/utils.c:2162:1: start of procedure av_new_stream()
  2160. }
  2161. 
  2162. AVStream *av_new_stream(AVFormatContext *s, int id)
        ^
  2163. {
  2164.     AVStream *st;

libavformat/utils.c:2167:9: Taking true branch
  2165.     int i;
  2166. 
  2167.     if (s->nb_streams >= MAX_STREAMS)
                ^
  2168.         return NULL;
  2169. 

libavformat/utils.c:2168:9: 
  2166. 
  2167.     if (s->nb_streams >= MAX_STREAMS)
  2168.         return NULL;
                ^
  2169. 
  2170.     st = av_mallocz(sizeof(AVStream));

libavformat/utils.c:2194:1: return from a call to av_new_stream
  2192.     s->streams[s->nb_streams++] = st;
  2193.     return st;
  2194. }
        ^
  2195. 
  2196. AVProgram *av_new_program(AVFormatContext *ac, int id)

ffmpeg.c:3059:10: Taking true branch
3057. 
3058.     st = av_new_stream(oc, oc->nb_streams);
3059.     if (!st) {
               ^
3060.         fprintf(stderr, "Could not alloc stream\n");
3061.         av_exit(1);

ffmpeg.c:3060:9: 
3058.     st = av_new_stream(oc, oc->nb_streams);
3059.     if (!st) {
3060.         fprintf(stderr, "Could not alloc stream\n");
              ^
3061.         av_exit(1);
3062.     }

ffmpeg.c:3061:9: Skipping av_exit(): empty list of specs
3059.     if (!st) {
3060.         fprintf(stderr, "Could not alloc stream\n");
3061.         av_exit(1);
              ^
3062.     }
3063.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);

ffmpeg.c:3063:5: 
3061.         av_exit(1);
3062.     }
3063.     avcodec_get_context_defaults2(st->codec, CODEC_TYPE_AUDIO);
          ^
3064. 
3065.     bitstream_filters[nb_output_files][oc->nb_streams - 1]= audio_bitstream_filters;
