diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c index eaff1ee11a..46b01cd816 100644 --- a/libavcodec/dxa.c +++ b/libavcodec/dxa.c @@ -187,7 +187,7 @@ static int decode_13(AVCodecContext *avctx, DxaDecContext *c, uint8_t* dst, uint return 0; } -static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) +static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) { DxaDecContext * const c = avctx->priv_data; uint8_t *outptr, *srcptr, *tmpptr;