summaryrefslogtreecommitdiff
path: root/libavcodec/yuv4dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/yuv4dec.c')
-rw-r--r--libavcodec/yuv4dec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c
index 83e03ba782..3c6d6eda6e 100644
--- a/libavcodec/yuv4dec.c
+++ b/libavcodec/yuv4dec.c
@@ -31,10 +31,9 @@ static av_cold int yuv4_decode_init(AVCodecContext *avctx)
return 0;
}
-static int yuv4_decode_frame(AVCodecContext *avctx, void *data,
+static int yuv4_decode_frame(AVCodecContext *avctx, AVFrame *pic,
int *got_frame, AVPacket *avpkt)
{
- AVFrame *pic = data;
const uint8_t *src = avpkt->data;
uint8_t *y, *u, *v;
int i, j, ret;