correct bug introduced from recent pull request

master
Dan Bryant 2019-11-25 08:56:39 +00:00
parent d379bed50a
commit 56e4860fc7
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ int AC3Codec::parseHeader(uint8_t* buf, uint8_t* end)
gbc.skipBits(5); // skip bsid, already got it
m_bsidBase = m_bsid;
for (int i = 0; i < (acmodExt ? 1 : 2); i++) {
for (int i = 0; i < (m_acmod ? 1 : 2); i++) {
gbc.skipBits(5); // skip dialog normalization
if (gbc.getBit()) {
gbc.skipBits(8); //skip Compression gain word