X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fxwma.c;h=9edad7d75ac38167ab86a0aca4755a8df51b0521;hb=4df66c7cd6f77e9b3a2cc1aee092068087d3853d;hp=683d3d0d4d21649a90365e7801c0edee90e8370f;hpb=daff49ccf3e5d9e90851595c4ea3199140f40f50;p=ffmpeg diff --git a/libavformat/xwma.c b/libavformat/xwma.c index 683d3d0d4d2..9edad7d75ac 100644 --- a/libavformat/xwma.c +++ b/libavformat/xwma.c @@ -75,7 +75,7 @@ static int xwma_read_header(AVFormatContext *s) if (!st) return AVERROR(ENOMEM); - ret = ff_get_wav_header(pb, st->codec, size, 0); + ret = ff_get_wav_header(s, pb, st->codec, size, 0); if (ret < 0) return ret; st->need_parsing = AVSTREAM_PARSE_NONE;