--- mbtransquant.c 2002/10/07 08:11:48 1.15 +++ mbtransquant.c 2002/10/19 12:20:33 1.18 @@ -3,8 +3,10 @@ * XVID MPEG-4 VIDEO CODEC * - MacroBlock transfer and quantization - * - * Copyright(C) 2002-2001 Michael Militzer + * Copyright(C) 2002-2001 Christoph Lampert + * 2002-2001 Michael Militzer * 2002-2001 Peter Ross + * 2002 Daniel Smith * * 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 +31,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.15 2002/10/07 08:11:48 chl Exp $ + * $Id: mbtransquant.c,v 1.18 2002/10/19 12:20:33 edgomez Exp $ * ****************************************************************************/ @@ -364,9 +366,8 @@ MBQuantIntra(const MBParam * pParam, FRAMEINFO * frame, MACROBLOCK *pMB, - int16_t data[6*64], + int16_t data[6 * 64], int16_t qcoeff[6 * 64]) -) { int i; int iQuant = frame->quant; @@ -599,7 +600,7 @@ } } - if (frame > field) { + if (frame > (field + 350)) { MBFrameToField(data); }