[FFmpeg-soc] [soc]: r1586 - eac3/eac3dec.c
jbr
subversion at mplayerhq.hu
Sat Dec 15 18:48:42 CET 2007
Author: jbr
Date: Sat Dec 15 18:48:42 2007
New Revision: 1586
Log:
use shift instead of multiply
Modified:
eac3/eac3dec.c
Modified: eac3/eac3dec.c
==============================================================================
--- eac3/eac3dec.c (original)
+++ eac3/eac3dec.c Sat Dec 15 18:48:42 2007
@@ -426,7 +426,7 @@ static int parse_bsi(GetBitContext *gbc,
case 1: skip_bits(gbc, 5); break;
case 2: skip_bits(gbc, 12); break;
case 3: {
- int mix_data_size = 8 * get_bits(gbc, 5) + 16;
+ int mix_data_size = (get_bits(gbc, 5) + 2) << 3;
skip_bits_long(gbc, mix_data_size);
break;
}
More information about the FFmpeg-soc
mailing list