[FFmpeg-cvslog] r13584 - trunk/libavcodec/ac3dec.c
jbr
subversion
Sat May 31 21:56:54 CEST 2008
Author: jbr
Date: Sat May 31 21:56:54 2008
New Revision: 13584
Log:
new dba values requires running last 2 bit allocation stages
Modified:
trunk/libavcodec/ac3dec.c
Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c (original)
+++ trunk/libavcodec/ac3dec.c Sat May 31 21:56:54 2008
@@ -1005,6 +1005,9 @@ static int ac3_parse_audio_block(AC3Deco
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) {
More information about the ffmpeg-cvslog
mailing list