You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
mpegaudiodec: fix compilation when testing the unchecked bitstream reader
This commit is contained in:
@@ -1548,7 +1548,7 @@ static int mp_decode_layer3(MPADecodeContext *s)
|
|||||||
memcpy(s->last_buf + s->last_buf_size, ptr, EXTRABYTES);
|
memcpy(s->last_buf + s->last_buf_size, ptr, EXTRABYTES);
|
||||||
s->in_gb = s->gb;
|
s->in_gb = s->gb;
|
||||||
init_get_bits(&s->gb, s->last_buf, s->last_buf_size*8);
|
init_get_bits(&s->gb, s->last_buf, s->last_buf_size*8);
|
||||||
#if CONFIG_SAFE_BITSTREAM_READER
|
#if !UNCHECKED_BITSTREAM_READER
|
||||||
s->gb.size_in_bits_plus8 += EXTRABYTES * 8;
|
s->gb.size_in_bits_plus8 += EXTRABYTES * 8;
|
||||||
#endif
|
#endif
|
||||||
skip_bits_long(&s->gb, 8*(s->last_buf_size - main_data_begin));
|
skip_bits_long(&s->gb, 8*(s->last_buf_size - main_data_begin));
|
||||||
|
Reference in New Issue
Block a user