[FFmpeg-cvslog] avcodec/apac: Fix discards ‘const’ qualifier
Michael Niedermayer
git at videolan.org
Wed Aug 14 19:52:16 EEST 2024
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Aug 14 18:46:10 2024 +0200| [45ee6b1e3d4f762e372e09505c9c8ca37c1321a0] | committer: Michael Niedermayer
avcodec/apac: Fix discards ‘const’ qualifier
Found-by: courmisch
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=45ee6b1e3d4f762e372e09505c9c8ca37c1321a0
---
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) {
More information about the ffmpeg-cvslog
mailing list