From 847072873c95ccaa5441bdba5a50bc19de2875e0 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 5 Jan 2014 13:32:03 -0500 Subject: vp9_parse: don't use AVCodecParserContext as av_log context. Fixes trac ticket 3273. Signed-off-by: Michael Niedermayer --- libavcodec/vp9_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/vp9_parser.c') diff --git a/libavcodec/vp9_parser.c b/libavcodec/vp9_parser.c index 24f588f441..c34febff0e 100644 --- a/libavcodec/vp9_parser.c +++ b/libavcodec/vp9_parser.c @@ -77,7 +77,7 @@ static int parse(AVCodecParserContext *ctx, idx += a; \ if (sz > size) { \ s->n_frames = 0; \ - av_log(ctx, AV_LOG_ERROR, \ + av_log(avctx, AV_LOG_ERROR, \ "Superframe packet size too big: %d > %d\n", \ sz, size); \ return AVERROR_INVALIDDATA; \ -- cgit v1.2.3