From 9dcd8b86f9d5d484c0772480bd12220212922b91 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 1 Dec 2011 00:28:46 +0100 Subject: Use correct context for av_log. Fixes ticket #695. --- libavcodec/pictordec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec') diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index 436b96d11d..b7d354b3d1 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -230,7 +230,7 @@ static int decode_frame(AVCodecContext *avctx, } } } else { - av_log_ask_for_sample(s, "uncompressed image\n"); + av_log_ask_for_sample(avctx, "uncompressed image\n"); return buf_size; } -- cgit v1.2.3