X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fxwma.c;h=9edad7d75ac38167ab86a0aca4755a8df51b0521;hb=f85bc147fb87de048ccc5767e186ac59ec0284ef;hp=683d3d0d4d21649a90365e7801c0edee90e8370f;hpb=e76c34d08c6f90ed3d6402fa800081e20ddbc012;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;