Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-06-29 07:41:58 +0400
committerLuca Barbato <lu_zero@gentoo.org>2013-06-29 20:11:12 +0400
commit183880cfc4aae53ce504e13337791cad5841c80c (patch)
tree53d188f33fe04b5b1ff0ac26dc4711a57ce28625 /libavcodec/pictordec.c
parentc93ccf5a4cca722b39f05e9f5660b4cb75bc1740 (diff)
pictor: use the correct logging context
Broken in 6d97484d72e33f7dde9493a9ead1a72e2f029605
Diffstat (limited to 'libavcodec/pictordec.c')
-rw-r--r--libavcodec/pictordec.c2
1 files changed, 1 insertions, 1 deletions
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;
}