[FFmpeg-cvslog] pictor: use the correct logging context

Luca Barbato git at videolan.org
Sun Jun 30 13:05:36 CEST 2013


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sat Jun 29 05:41:58 2013 +0200| [183880cfc4aae53ce504e13337791cad5841c80c] | committer: Luca Barbato

pictor: use the correct logging context

Broken in 6d97484d72e33f7dde9493a9ead1a72e2f029605

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=183880cfc4aae53ce504e13337791cad5841c80c
---

 libavcodec/pictordec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c
index 9c884ff..2a6e391 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;
     }
 



More information about the ffmpeg-cvslog mailing list