diff options
Diffstat (limited to 'libavcodec/xan.c')
-rw-r--r-- | libavcodec/xan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/xan.c b/libavcodec/xan.c index e269c2fcf6..65c65283b1 100644 --- a/libavcodec/xan.c +++ b/libavcodec/xan.c @@ -405,8 +405,10 @@ static void xan_wc4_decode_frame(XanContext *s) { static int xan_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; XanContext *s = avctx->priv_data; AVPaletteControl *palette_control = avctx->palctrl; |