--- branches/dev-api-3/xvidcore/src/encoder.c 2003/01/03 16:25:14 758 +++ branches/dev-api-3/xvidcore/src/encoder.c 2003/01/05 16:18:47 763 @@ -39,7 +39,7 @@ * MinChen * 14.04.2002 added FrameCodeB() * - * $Id: encoder.c,v 1.76.2.32 2003-01-03 16:25:14 suxen_drol Exp $ + * $Id: encoder.c,v 1.76.2.34 2003-01-05 16:18:47 syskin Exp $ * ****************************************************************************/ @@ -674,7 +674,8 @@ { uint16_t x, y; Bitstream bs; - uint32_t bits, mode; + uint32_t bits; + int mode; int input_valid = 1; int bframes_count = 0; @@ -1925,8 +1926,8 @@ Bitstream * bs, uint32_t * pBits) { - int16_t dct_codes[6 * 64]; - int16_t qcoeff[6 * 64]; + DECLARE_ALIGNED_MATRIX(dct_codes, 6, 64, int16_t, CACHE_LINE); + DECLARE_ALIGNED_MATRIX(qcoeff, 6, 64, int16_t, CACHE_LINE); uint32_t x, y; IMAGE *f_ref = &pEnc->reference->image;