summaryrefslogtreecommitdiff
path: root/libavcodec/zerocodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/zerocodec.c')
-rw-r--r--libavcodec/zerocodec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/zerocodec.c b/libavcodec/zerocodec.c
index 49b0968129..b4d189cd7a 100644
--- a/libavcodec/zerocodec.c
+++ b/libavcodec/zerocodec.c
@@ -29,11 +29,10 @@ typedef struct ZeroCodecContext {
FFZStream zstream;
} ZeroCodecContext;
-static int zerocodec_decode_frame(AVCodecContext *avctx, void *data,
+static int zerocodec_decode_frame(AVCodecContext *avctx, AVFrame *pic,
int *got_frame, AVPacket *avpkt)
{
ZeroCodecContext *zc = avctx->priv_data;
- AVFrame *pic = data;
AVFrame *prev_pic = zc->previous_frame;
z_stream *const zstream = &zc->zstream.zstream;
uint8_t *prev = prev_pic->data[0];