avcodec/apac: Fix discards ‘const’ qualifier

Found-by: courmisch
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2024-08-14 18:46:10 +02:00
parent fc07062a47
commit 45ee6b1e3d
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
1 changed files with 1 additions and 1 deletions

View File

@ -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) {