libavformat/daud.c:25: error: Null Dereference
  pointer `st` last assigned on line 24 could be null and is dereferenced at line 25, column 5.

libavformat/daud.c:23:1: start of procedure daud_header()
21. #include "avformat.h"
22. 
23. static int daud_header(AVFormatContext *s, AVFormatParameters *ap) {
    ^
24.     AVStream *st = av_new_stream(s, 0);
25.     st->codec->codec_type = CODEC_TYPE_AUDIO;

libavformat/daud.c:24:5: 
22. 
23. static int daud_header(AVFormatContext *s, AVFormatParameters *ap) {
24.     AVStream *st = av_new_stream(s, 0);
        ^
25.     st->codec->codec_type = CODEC_TYPE_AUDIO;
26.     st->codec->codec_id = CODEC_ID_PCM_S24DAUD;

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

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

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

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

libavformat/daud.c:25:5: 
23. static int daud_header(AVFormatContext *s, AVFormatParameters *ap) {
24.     AVStream *st = av_new_stream(s, 0);
25.     st->codec->codec_type = CODEC_TYPE_AUDIO;
        ^
26.     st->codec->codec_id = CODEC_ID_PCM_S24DAUD;
27.     st->codec->codec_tag = MKTAG('d', 'a', 'u', 'd');
