diff --git a/libavcodec/apac.c b/libavcodec/apac.c index 068ad09530..eb05d38636 100644 --- a/libavcodec/apac.c +++ b/libavcodec/apac.c @@ -129,7 +129,7 @@ static int apac_decode(AVCodecContext *avctx, AVFrame *frame, APACContext *s = avctx->priv_data; GetBitContext *gb = &s->gb; int ret, n, buf_size, input_buf_size; - const uint8_t *buf; + uint8_t *buf; int nb_samples; if (!pkt->size && s->bitstream_size <= 0) {