avcodec/apac: Fix discards ‘const’ qualifier

Found-by: courmisch
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/7.1
Michael Niedermayer 4 months ago
parent fc07062a47
commit 45ee6b1e3d
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
  1. 2
      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) {

Loading…
Cancel
Save