Commit e25973a1 authored by Justin Ruggles's avatar Justin Ruggles
Browse files

new dba values requires running last 2 bit allocation stages

Originally committed as revision 13584 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e992fba4
......@@ -1005,6 +1005,9 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
s->dba_lengths[ch][seg] = get_bits(gbc, 4);
s->dba_values[ch][seg] = get_bits(gbc, 3);
}
/* run last 2 bit allocation stages if new dba values */
bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2);
}
}
} else if(blk == 0) {
......
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