Commit 151b5e4a authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '3db51bf6'

* commit '3db51bf6':
  ac3dec: Simplify skipping
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 2e3221c3 3db51bf6
......@@ -1359,8 +1359,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
/* unused dummy data */
if (s->skip_syntax && get_bits1(gbc)) {
int skipl = get_bits(gbc, 9);
while (skipl--)
skip_bits(gbc, 8);
skip_bits_long(gbc, 8 * skipl);
}
/* unpack the transform coefficients
......
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