From 323b8c95e41094b90ed2a9bdd9a06d22d2f74856 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 14 Apr 2016 18:21:08 +0200 Subject: avformat: add AVFormatContext to ff_get_extradata() Needed for av_log() inside that function. Signed-off-by: Paul B Mahol --- libavformat/mpc8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/mpc8.c') diff --git a/libavformat/mpc8.c b/libavformat/mpc8.c index 288caa0639..05d0c1ae86 100644 --- a/libavformat/mpc8.c +++ b/libavformat/mpc8.c @@ -252,7 +252,7 @@ static int mpc8_read_header(AVFormatContext *s) st->codecpar->codec_id = AV_CODEC_ID_MUSEPACK8; st->codecpar->bits_per_coded_sample = 16; - if (ff_get_extradata(st->codecpar, pb, 2) < 0) + if (ff_get_extradata(s, st->codecpar, pb, 2) < 0) return AVERROR(ENOMEM); st->codecpar->channels = (st->codecpar->extradata[1] >> 4) + 1; -- cgit v1.2.3