X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fxwma.c;h=94208abc475087b003bef55f70569a23b9af9915;hb=60fcc19bff49e0b1972eae014afc087afd94a415;hp=9e100b1b0bee758b737748017fcb8b88e65041c7;hpb=96c93b8ceb6c95335ed8fc743956e46dd1ccfae5;p=ffmpeg diff --git a/libavformat/xwma.c b/libavformat/xwma.c index 9e100b1b0be..94208abc475 100644 --- a/libavformat/xwma.c +++ b/libavformat/xwma.c @@ -69,7 +69,7 @@ static int xwma_read_header(AVFormatContext *s, AVFormatParameters *ap) if (tag != MKTAG('f', 'm', 't', ' ')) return -1; size = avio_rl32(pb); - st = av_new_stream(s, 0); + st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM);