--- mbtransquant.c 2002/09/05 21:44:11 1.12 +++ mbtransquant.c 2002/10/07 08:11:48 1.15 @@ -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.15 2002/10/07 08:11:48 chl Exp $ * ****************************************************************************/ @@ -364,8 +364,9 @@ 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; @@ -602,7 +603,7 @@ MBFrameToField(data); } - return (frame > field); + return (frame > (field + 350)); }