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/cafdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/cafdec.c') diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index 91b50c8199..1c4ca401c2 100644 --- a/libavformat/cafdec.c +++ b/libavformat/cafdec.c @@ -168,7 +168,7 @@ static int read_kuki_chunk(AVFormatContext *s, int64_t size) } } else { av_freep(&st->codecpar->extradata); - if (ff_get_extradata(st->codecpar, pb, size) < 0) + if (ff_get_extradata(s, st->codecpar, pb, size) < 0) return AVERROR(ENOMEM); } -- cgit v1.2.3