mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
new dba values requires running last 2 bit allocation stages
Originally committed as revision 13584 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e992fba4ba
commit
e25973a1fd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user