mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ac3dec: use skip_bits_long() for block start bits
Originally committed as revision 16019 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
96f229d6c0
commit
3e7aa8fa4c
@ -475,7 +475,7 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
|
||||
The spec does not say what this data is or what it's used for.
|
||||
It is likely the offset of each block within the frame. */
|
||||
int block_start_bits = (s->num_blocks-1) * (4 + av_log2(s->frame_size-2));
|
||||
skip_bits(gbc, block_start_bits);
|
||||
skip_bits_long(gbc, block_start_bits);
|
||||
}
|
||||
|
||||
/* syntax state initialization */
|
||||
|
Loading…
Reference in New Issue
Block a user