--- branches/dev-api-4/xvidcore/src/prediction/mbprediction.c 2003/02/22 08:49:45 890 +++ branches/dev-api-4/xvidcore/src/prediction/mbprediction.c 2003/03/16 12:05:09 926 @@ -438,11 +438,12 @@ { int32_t j; - int32_t iDcScaler, iQuant = frame->quant; + int32_t iDcScaler, iQuant; int S = 0; int16_t predictors[6][8]; MACROBLOCK *pMB = &frame->mbs[x + y * mb_width]; + iQuant = pMB->quant; if ((pMB->mode == MODE_INTRA) || (pMB->mode == MODE_INTRA_Q)) {