summaryrefslogtreecommitdiff
path: root/libavcodec/dfpwmdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dfpwmdec.c')
-rw-r--r--libavcodec/dfpwmdec.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/dfpwmdec.c b/libavcodec/dfpwmdec.c
index dca7678795..4237200c6b 100644
--- a/libavcodec/dfpwmdec.c
+++ b/libavcodec/dfpwmdec.c
@@ -100,11 +100,10 @@ static av_cold int dfpwm_dec_init(struct AVCodecContext *ctx)
return 0;
}
-static int dfpwm_dec_frame(struct AVCodecContext *ctx, void *data,
- int *got_frame, struct AVPacket *packet)
+static int dfpwm_dec_frame(struct AVCodecContext *ctx, AVFrame *frame,
+ int *got_frame, struct AVPacket *packet)
{
DFPWMState *state = ctx->priv_data;
- AVFrame *frame = data;
int ret;
if (packet->size * 8LL % ctx->ch_layout.nb_channels)