diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index bfab58c20c76b441e7bd4d24bb43d5d31e937d79..60069d49c5968d6ed42972a9303029d24734353e 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -171,7 +171,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac LclDecContext * const c = avctx->priv_data; unsigned int pixel_ptr; int row, col; - unsigned char *encoded, *outptr; + unsigned char *encoded = avpkt->data, *outptr; uint8_t *y_out, *u_out, *v_out; unsigned int width = avctx->width; // Real image width unsigned int height = avctx->height; // Real image height