summaryrefslogtreecommitdiff
path: root/libavcodec/cyuv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cyuv.c')
-rw-r--r--libavcodec/cyuv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/cyuv.c b/libavcodec/cyuv.c
index 2b15814b31..944d778198 100644
--- a/libavcodec/cyuv.c
+++ b/libavcodec/cyuv.c
@@ -60,8 +60,10 @@ static av_cold int cyuv_decode_init(AVCodecContext *avctx)
static int cyuv_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- const uint8_t *buf, int buf_size)
+ AVPacket *avpkt)
{
+ const uint8_t *buf = avpkt->data;
+ int buf_size = avpkt->size;
CyuvDecodeContext *s=avctx->priv_data;
unsigned char *y_plane;