--- common/video/iso-mpeg4/src/vtc_ztq_encQM.cpp.orig 2005-05-04 13:56:01.000000000 -0600 +++ common/video/iso-mpeg4/src/vtc_ztq_encQM.cpp 2009-11-19 04:35:41.000000000 -0700 @@ -233,8 +233,8 @@ mzte_codec.m_iMaxDC = 0; /* loop through DC */ - noteDetail("Quantizing DC band...."); - noteDebug("Qdc=%d",mzte_codec.m_iQDC[c]); + noteDetail((char*)"Quantizing DC band...."); + noteDebug((char*)"Qdc=%d",mzte_codec.m_iQDC[c]); for (x = 0; x < mzte_codec.m_iDCWidth; ++x) for (y = 0; y < mzte_codec.m_iDCHeight; ++y) { @@ -256,7 +256,7 @@ mzte_codec.m_iMaxDC = COEFF_VAL(x,y,c); } - noteDetail("Completed quantizing DC bands."); + noteDetail((char*)"Completed quantizing DC bands."); return err; } @@ -308,14 +308,14 @@ } /* loop through DC */ - noteDetail("Quantizing and marking AC bands...."); + noteDetail((char*)"Quantizing and marking AC bands...."); ALL_ZERO(c)=1; for (x = 0; x < mzte_codec.m_iDCWidth; ++x) for (y = 0; y < mzte_codec.m_iDCHeight; ++y) { if ((nc = findChild(x, y, xc, yc, c)) != 3) { - noteError("DC band coefficient has %d children instead of 3.", nc); + noteError((char*)"DC band coefficient has %d children instead of 3.", nc); exit(-1); } @@ -323,10 +323,10 @@ ALL_ZERO(c) *= !quantizeAndMarkCoeffs(xc[1], yc[1], c); ALL_ZERO(c) *= !quantizeAndMarkCoeffs(xc[2], yc[2], c); } - noteDetail("Completed quantizing and marking of AC bands."); + noteDetail((char*)"Completed quantizing and marking of AC bands."); if (ALL_ZERO(c)) - noteProgress("Note: All coefficients are quantized to zero."); + noteProgress((char*)"Note: All coefficients are quantized to zero."); return err; } @@ -367,13 +367,13 @@ err=0; /* loop through DC */ - noteDetail("Updating state of AC bands...."); + noteDetail((char*)"Updating state of AC bands...."); for (x = 0; x < mzte_codec.m_iDCWidth; ++x) for (y = 0; y < mzte_codec.m_iDCHeight; ++y) { if ((nc = findChild(x, y, xc, yc, c)) != 3) { - noteError("DC band coefficient has %d children instead of 3.", nc); + noteError((char*)"DC band coefficient has %d children instead of 3.", nc); exit(-1); } @@ -381,7 +381,7 @@ updateCoeffAndDescState(xc[1], yc[1], c); updateCoeffAndDescState(xc[2], yc[2], c); } - noteDetail("Completed updating state of AC bands."); + noteDetail((char*)"Completed updating state of AC bands."); return err; }