diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c index 20ddb20b15..020424ddae 100644 --- a/libavcodec/pictordec.c +++ b/libavcodec/pictordec.c @@ -233,7 +233,7 @@ static int decode_frame(AVCodecContext *avctx, } } } else { - avpriv_request_sample(s, "Uncompressed image"); + avpriv_request_sample(avctx, "Uncompressed image"); return avpkt->size; } finish: