summaryrefslogtreecommitdiff
path: root/libavcodec/v210x.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/v210x.c')
-rw-r--r--libavcodec/v210x.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/v210x.c b/libavcodec/v210x.c
index 7273694ed8..34eb54e447 100644
--- a/libavcodec/v210x.c
+++ b/libavcodec/v210x.c
@@ -36,11 +36,10 @@ static av_cold int decode_init(AVCodecContext *avctx)
return 0;
}
-static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
- AVPacket *avpkt)
+static int decode_frame(AVCodecContext *avctx, AVFrame *pic,
+ int *got_frame, AVPacket *avpkt)
{
const uint32_t *src = (const uint32_t *)avpkt->data;
- AVFrame *pic = data;
int width = avctx->width;
int y = 0;
uint16_t *ydst, *udst, *vdst, *yend;