From 45ee6b1e3d4f762e372e09505c9c8ca37c1321a0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 14 Aug 2024 18:46:10 +0200 Subject: [PATCH] =?UTF-8?q?avcodec/apac:=20Fix=20discards=20=E2=80=98const?= =?UTF-8?q?=E2=80=99=20qualifier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found-by: courmisch Signed-off-by: Michael Niedermayer --- libavcodec/apac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {