summaryrefslogtreecommitdiff
path: root/libavcodec/vmdvideo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vmdvideo.c')
-rw-r--r--libavcodec/vmdvideo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/vmdvideo.c b/libavcodec/vmdvideo.c
index 1d39b6a4d8..fd48dc3255 100644
--- a/libavcodec/vmdvideo.c
+++ b/libavcodec/vmdvideo.c
@@ -430,14 +430,12 @@ static av_cold int vmdvideo_decode_init(AVCodecContext *avctx)
return 0;
}
-static int vmdvideo_decode_frame(AVCodecContext *avctx,
- void *data, int *got_frame,
- AVPacket *avpkt)
+static int vmdvideo_decode_frame(AVCodecContext *avctx, AVFrame *frame,
+ int *got_frame, AVPacket *avpkt)
{
const uint8_t *buf = avpkt->data;
int buf_size = avpkt->size;
VmdVideoContext *s = avctx->priv_data;
- AVFrame *frame = data;
int ret;
s->buf = buf;