summaryrefslogtreecommitdiff
path: root/libavcodec/prosumer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/prosumer.c')
-rw-r--r--libavcodec/prosumer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/prosumer.c b/libavcodec/prosumer.c
index b890a42a32..db17cd5083 100644
--- a/libavcodec/prosumer.c
+++ b/libavcodec/prosumer.c
@@ -144,11 +144,10 @@ static void vertical_predict(uint32_t *dst, int offset, const uint32_t *src, int
}
}
-static int decode_frame(AVCodecContext *avctx, void *data,
+static int decode_frame(AVCodecContext *avctx, AVFrame *frame,
int *got_frame, AVPacket *avpkt)
{
ProSumerContext *s = avctx->priv_data;
- AVFrame * const frame = data;
int ret;
if (avpkt->size <= 32)