summaryrefslogtreecommitdiff
path: root/libavcodec/pictordec.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2011-12-01 19:16:59 +1100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-01 14:34:46 +0100
commit43a2a8b4a3d09ca22cb52796ec2c48a16c47cd8a (patch)
tree34b28dd26c3298ae5cb39dda00aaa21984526e11 /libavcodec/pictordec.c
parent67eb95ce151dc90f5d6d32c3f2233cb07d506251 (diff)
pictordec: use correct context for another av_log
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 b7d354b3d1..09aae720e4 100644
--- a/libavcodec/pictordec.c
+++ b/libavcodec/pictordec.c
@@ -126,7 +126,7 @@ static int decode_frame(AVCodecContext *avctx,
s->nb_planes = (*buf++ >> 4) + 1;
bpp = s->nb_planes ? bits_per_plane*s->nb_planes : bits_per_plane;
if (bits_per_plane > 8 || bpp < 1 || bpp > 32) {
- av_log_ask_for_sample(s, "unsupported bit depth\n");
+ av_log_ask_for_sample(avctx, "unsupported bit depth\n");
return AVERROR_INVALIDDATA;
}