diff options
Diffstat (limited to 'libavcodec/mace.c')
-rw-r--r-- | libavcodec/mace.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/mace.c b/libavcodec/mace.c index d26164706a..ae7b4dc833 100644 --- a/libavcodec/mace.c +++ b/libavcodec/mace.c @@ -236,8 +236,10 @@ static av_cold int mace_decode_init(AVCodecContext * avctx) static int mace_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; int16_t *samples = data; MACEContext *ctx = avctx->priv_data; int i, j, k, l; |