summaryrefslogtreecommitdiff
path: root/libavcodec/cyuv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cyuv.c')
-rw-r--r--libavcodec/cyuv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/cyuv.c b/libavcodec/cyuv.c
index a59dd358bf..ba20cd02da 100644
--- a/libavcodec/cyuv.c
+++ b/libavcodec/cyuv.c
@@ -59,14 +59,12 @@ static av_cold int cyuv_decode_init(AVCodecContext *avctx)
return 0;
}
-static int cyuv_decode_frame(AVCodecContext *avctx,
- void *data, int *got_frame,
- AVPacket *avpkt)
+static int cyuv_decode_frame(AVCodecContext *avctx, AVFrame *frame,
+ int *got_frame, AVPacket *avpkt)
{
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
CyuvDecodeContext *s=avctx->priv_data;
- AVFrame *frame = data;
unsigned char *y_plane;
unsigned char *u_plane;