summaryrefslogtreecommitdiff
path: root/libavcodec/dpcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dpcm.c')
-rw-r--r--libavcodec/dpcm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c
index ddd6b47ff4..db09ef274b 100644
--- a/libavcodec/dpcm.c
+++ b/libavcodec/dpcm.c
@@ -207,12 +207,11 @@ static av_cold int dpcm_decode_init(AVCodecContext *avctx)
}
-static int dpcm_decode_frame(AVCodecContext *avctx, void *data,
+static int dpcm_decode_frame(AVCodecContext *avctx, AVFrame *frame,
int *got_frame_ptr, AVPacket *avpkt)
{
int buf_size = avpkt->size;
DPCMContext *s = avctx->priv_data;
- AVFrame *frame = data;
int out = 0, ret;
int predictor[2];
int ch = 0;