Commit 3e7aa8fa authored by Justin Ruggles's avatar Justin Ruggles
Browse files

ac3dec: use skip_bits_long() for block start bits

Originally committed as revision 16019 to svn://
parent 96f229d6
......@@ -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 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment