--- trunk/xvidcore/src/utils/mbtransquant.c 2002/09/05 21:44:11 427 +++ trunk/xvidcore/src/utils/mbtransquant.c 2002/10/16 20:58:22 599 @@ -4,7 +4,7 @@ * - MacroBlock transfer and quantization - * * Copyright(C) 2002-2001 Michael Militzer - * 2002-2001 Peter Ross + * 2002-2001 Peter Ross * * This program is an implementation of a part of one or more MPEG-4 * Video tools as specified in ISO/IEC 14496-2 standard. Those intending @@ -29,7 +29,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: mbtransquant.c,v 1.12 2002-09-05 21:44:11 edgomez Exp $ + * $Id: mbtransquant.c,v 1.17 2002-10-16 20:58:22 h Exp $ * ****************************************************************************/ @@ -364,8 +364,8 @@ MBQuantIntra(const MBParam * pParam, FRAMEINFO * frame, MACROBLOCK *pMB, - int16_t qcoeff[6 * 64], - int16_t data[6*64]) + int16_t data[6 * 64], + int16_t qcoeff[6 * 64]) { int i; int iQuant = frame->quant; @@ -598,11 +598,11 @@ } } - if (frame > field) { + if (frame > (field + 350)) { MBFrameToField(data); } - return (frame > field); + return (frame > (field + 350)); }