# HG changeset patch # User jbr # Date 1228581196 0 # Node ID e2ef97f0ab4ba061019103263ff711d252336e82 # Parent 82dbfe8d2e0b68ad374e185913e80e515bc4c027 ac3dec: simplify exponent bounds checking diff -r 82dbfe8d2e0b -r e2ef97f0ab4b ac3dec.c --- a/ac3dec.c Sat Dec 06 16:28:48 2008 +0000 +++ b/ac3dec.c Sat Dec 06 16:33:16 2008 +0000 @@ -392,7 +392,7 @@ prevexp = absexp; for(i=0,j=0; i 24) + if (prevexp > 24U) return -1; switch (group_size) { case 4: dexps[j++] = prevexp;