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/apetag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/apetag.c') diff --git a/libavformat/apetag.c b/libavformat/apetag.c index 53e076fb8b..08e80f4aa3 100644 --- a/libavformat/apetag.c +++ b/libavformat/apetag.c @@ -96,7 +96,7 @@ static int ape_tag_read_field(AVFormatContext *s) st->attached_pic.stream_index = st->index; st->attached_pic.flags |= AV_PKT_FLAG_KEY; } else { - if (ff_get_extradata(st->codecpar, s->pb, size) < 0) + if (ff_get_extradata(s, st->codecpar, s->pb, size) < 0) return AVERROR(ENOMEM); st->codecpar->codec_type = AVMEDIA_TYPE_ATTACHMENT; } -- cgit v1.2.3