--- trunk/xvidcore/src/utils/mbtransquant.c 2004/12/19 12:04:28 1581 +++ trunk/xvidcore/src/utils/mbtransquant.c 2004/12/19 12:49:05 1582 @@ -21,7 +21,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.26 2004-12-05 13:56:13 syskin Exp $ + * $Id: mbtransquant.c,v 1.27 2004-12-19 12:49:05 edgomez Exp $ * ****************************************************************************/ @@ -216,7 +216,7 @@ sum = quant[mpeg](&qcoeff[i*64], &data[i*64], pMB->quant, pParam->mpeg_quant_matrices); - if(sum && (frame->vop_flags & XVID_VOP_TRELLISQUANT)) { + if(sum && (pMB->quant > 2) && (frame->vop_flags & XVID_VOP_TRELLISQUANT)) { const uint16_t *matrix; const static uint16_t h263matrix[] = {