From: Luca Barbato Date: Sat, 29 Jun 2013 03:41:58 +0000 (+0200) Subject: pictor: use the correct logging context X-Git-Tag: android-x86-4.4-r1~364^2~802 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=183880cfc4aae53ce504e13337791cad5841c80c;p=android-x86%2Fexternal-ffmpeg.git pictor: use the correct logging context Broken in 6d97484d72e33f7dde9493a9ead1a72e2f029605 --- diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index 9c884ff645..2a6e39158b 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -123,7 +123,7 @@ static int decode_frame(AVCodecContext *avctx, s->nb_planes = (tmp >> 4) + 1; bpp = bits_per_plane * s->nb_planes; if (bits_per_plane > 8 || bpp < 1 || bpp > 32) { - avpriv_request_sample(s, "Unsupported bit depth"); + avpriv_request_sample(avctx, "Unsupported bit depth"); return AVERROR_PATCHWELCOME; }