diff options
Diffstat (limited to 'libavcodec/apedec.c')
-rw-r--r-- | libavcodec/apedec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 59be99694e..0305d7b4ec 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -806,8 +806,10 @@ static void ape_unpack_stereo(APEContext * ctx, int count) static int ape_decode_frame(AVCodecContext * avctx, void *data, int *data_size, - const uint8_t * buf, int buf_size) + AVPacket *avpkt) { + const uint8_t *buf = avpkt->data; + int buf_size = avpkt->size; APEContext *s = avctx->priv_data; int16_t *samples = data; int nblocks; |