ffmpeg | branch: master | Michael Niedermayer <mich...@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 <mich...@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) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to