]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/daud.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavformat / daud.c
index 34262e010c4c51dca1028d72e4b01eb9364b99df..aa7080008547cfc6d7bf75658c5129c5faeacd08 100644 (file)
@@ -21,7 +21,7 @@
 #include "avformat.h"
 
 static int daud_header(AVFormatContext *s, AVFormatParameters *ap) {
-    AVStream *st = av_new_stream(s, 0);
+    AVStream *st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);
     st->codec->codec_type = AVMEDIA_TYPE_AUDIO;