Merge commit '3db51bf671defd47f2ec5ab67b11fb7730fb5e5a'

* commit '3db51bf671defd47f2ec5ab67b11fb7730fb5e5a':
  ac3dec: Simplify skipping

Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
Clément Bœsch 2017-03-15 21:57:57 +01:00
commit 151b5e4a53
1 changed files with 1 additions and 2 deletions

View File

@ -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