summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 90bd246fa6..b2d47e27c1 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -413,11 +413,10 @@ static int decode_element(AVCodecContext *avctx, AVFrame *frame, int ch_index,
return 0;
}
-static int alac_decode_frame(AVCodecContext *avctx, void *data,
+static int alac_decode_frame(AVCodecContext *avctx, AVFrame *frame,
int *got_frame_ptr, AVPacket *avpkt)
{
ALACContext *alac = avctx->priv_data;
- AVFrame *frame = data;
enum AlacRawDataBlockType element;
int channels;
int ch, ret, got_end;