X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavformat%2Fdaud.c;h=aa7080008547cfc6d7bf75658c5129c5faeacd08;hb=02acfb1c01135542540045a8fb5b7dc16377476c;hp=34262e010c4c51dca1028d72e4b01eb9364b99df;hpb=91eb1b1525456efecc3154ca533b943d2916886e;p=ffmpeg diff --git a/libavformat/daud.c b/libavformat/daud.c index 34262e010c4..aa708000854 100644 --- a/libavformat/daud.c +++ b/libavformat/daud.c @@ -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;