From 323b8c95e41094b90ed2a9bdd9a06d22d2f74856 Mon Sep 17 00:00:00 2001 From: Paul B Mahol <onemda@gmail.com> 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 <onemda@gmail.com> --- libavformat/nutdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/nutdec.c') diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 7286a26e17..2e309bcad7 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -463,7 +463,7 @@ static int decode_stream_header(NUTContext *nut) GET_V(st->codecpar->extradata_size, tmp < (1 << 30)); if (st->codecpar->extradata_size) { - if (ff_get_extradata(st->codecpar, bc, st->codecpar->extradata_size) < 0) + if (ff_get_extradata(s, st->codecpar, bc, st->codecpar->extradata_size) < 0) return AVERROR(ENOMEM); } -- cgit v1.2.3