X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Feacdata.c;h=adf48c6a19b429b92d3f2500d69f00e0ccacd626;hb=b2bdca1b4a739992779f6641fcc122cffb240eb6;hp=01acaca35d227a20ce9b2531d20efd36129dd06d;hpb=7db7eb08e051d0d95215f645e0cfa9a5879cded0;p=ffmpeg diff --git a/libavformat/eacdata.c b/libavformat/eacdata.c index 01acaca35d2..adf48c6a19b 100644 --- a/libavformat/eacdata.c +++ b/libavformat/eacdata.c @@ -66,7 +66,7 @@ static int cdata_read_header(AVFormatContext *s, AVFormatParameters *ap) sample_rate = avio_rb16(pb); avio_skip(pb, (avio_r8(pb) & 0x20) ? 15 : 11); - st = av_new_stream(s, 0); + st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM); st->codec->codec_type = AVMEDIA_TYPE_AUDIO;