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/bink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/bink.c') diff --git a/libavformat/bink.c b/libavformat/bink.c index 56dbf9e1c1..b95c83d97d 100644 --- a/libavformat/bink.c +++ b/libavformat/bink.c @@ -129,7 +129,7 @@ static int read_header(AVFormatContext *s) vst->codecpar->codec_id = AV_CODEC_ID_NONE; } - if (ff_get_extradata(vst->codecpar, pb, 4) < 0) + if (ff_get_extradata(s, vst->codecpar, pb, 4) < 0) return AVERROR(ENOMEM); bink->num_audio_tracks = avio_rl32(pb); -- cgit v1.2.3