--- mbcoding.c 2002/11/26 23:44:10 1.34 +++ mbcoding.c 2003/01/04 04:28:48 1.36 @@ -50,7 +50,7 @@ * exception also makes it possible to release a modified version which * carries forward this exception. * - * $Id: mbcoding.c,v 1.34 2002/11/26 23:44:10 edgomez Exp $ + * $Id: mbcoding.c,v 1.36 2003/01/04 04:28:48 suxen_drol Exp $ * ****************************************************************************/ @@ -71,8 +71,8 @@ ****************************************************************************/ /* msvc sp5+pp gets confused if they globals are made static */ -VLC intra_table[524032]; -VLC inter_table[524032]; +static VLC intra_table[524288]; +static VLC inter_table[524288]; static VLC DCT3Dintra[4096]; static VLC DCT3Dinter[4096]; @@ -769,7 +769,7 @@ DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[coeff], level); /*DPRINTF(DPRINTF_COEFF,"block[%i] %i %08x", scan[coeff], level, BitstreamShowBits(bs, 32)); */ - if (level < -127 || level > 127) { + if (level < -2047 || level > 2047) { DPRINTF(DPRINTF_DEBUG, "warning: intra_overflow: %d", level); } coeff++; @@ -801,7 +801,7 @@ DPRINTF(DPRINTF_COEFF,"block[%i] %i", scan[p], level); - if (level < -127 || level > 127) { + if (level < -2047 || level > 2047) { DPRINTF(DPRINTF_DEBUG, "warning: inter_overflow: %d", level); } p++;