# HG changeset patch # User jbr # Date 1228578383 0 # Node ID 52af55b08c1d1079023b29b3fc5b1ada3c95b2b2 # Parent 0fc2b35a1c146a05aac8f243789c2a3ff223fab4 ac3dec: unroll inner loop in exponent decoding. 46% faster decode_exponents(). diff -r 0fc2b35a1c14 -r 52af55b08c1d ac3dec.c --- a/ac3dec.c Sat Dec 06 15:38:21 2008 +0000 +++ b/ac3dec.c Sat Dec 06 15:46:23 2008 +0000 @@ -390,12 +390,15 @@ /* convert to absolute exps and expand groups */ prevexp = absexp; - for(i=0; i 24) return -1; - for(j=0; j