aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-08-14 18:46:10 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2024-08-14 18:49:52 +0200
commit45ee6b1e3d4f762e372e09505c9c8ca37c1321a0 (patch)
tree11b79bf4b09475e512d278e79064eeb69ab4e809
parentfc07062a47832d2ff33b8ac86c3ce64f082d0a28 (diff)
downloadffmpeg-45ee6b1e3d4f762e372e09505c9c8ca37c1321a0.tar.gz
avcodec/apac: Fix discards ‘const’ qualifier
Found-by: courmisch Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/apac.c2
1 files changed, 1 insertions, 1 deletions
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) {