--- common/video/iso-mpeg4/src/vtc_ztq_QMInit.cpp.orig 2005-05-04 13:56:01.000000000 -0600 +++ common/video/iso-mpeg4/src/vtc_ztq_QMInit.cpp 2009-11-19 04:42:17.000000000 -0700 @@ -76,7 +76,7 @@ if ((prevQList[i] = (Int *)calloc(mzte_codec.m_iSpatialLev, sizeof(Int)))==NULL) { - noteError("Can't allocate memory for prevQList."); + noteError((char*)"Can't allocate memory for prevQList."); err = -1; goto ERR; } @@ -86,7 +86,7 @@ if ((prevQList2[i] = (Int *)calloc(mzte_codec.m_iSpatialLev, sizeof(Int)))==NULL) { - noteError("Can't allocate memory for prevQList."); + noteError((char*)"Can't allocate memory for prevQList."); err = -1; goto ERR; } @@ -96,7 +96,7 @@ if ((scaleLev[i] = (Int *)calloc(mzte_codec.m_iSpatialLev, sizeof(Int)))==NULL) { - noteError("Can't allocate memory for scaleLev."); + noteError((char*)"Can't allocate memory for scaleLev."); err = -1; goto ERR; } @@ -168,8 +168,8 @@ err = 0; - noteDetail("Initializing DC coefficient information...."); - noteDebug("DC Dimensions: Width=%d, Height=%d", + noteDetail((char*)"Initializing DC coefficient information...."); + noteDebug((char*)"DC Dimensions: Width=%d, Height=%d", mzte_codec.m_iDCWidth, mzte_codec.m_iDCHeight); for (y = 0; y < mzte_codec.m_iDCHeight; ++y) @@ -185,7 +185,7 @@ COEFF_STATE(x, y, c) = S_DC; } - noteDetail("Completed initializing of DC coefficient information."); + noteDetail((char*)"Completed initializing of DC coefficient information."); return err; } @@ -231,12 +231,12 @@ err = 0; - noteDetail("Initializing AC coefficient information for col %d....",c); + noteDetail((char*)"Initializing AC coefficient information for col %d....",c); height = mzte_codec.m_iHeight >> (int)(c!=0); width = mzte_codec.m_iWidth >> (int)(c!=0); - noteDebug("Image: Width=%d, Height=%d", width, height); + noteDebug((char*)"Image: Width=%d, Height=%d", width, height); for (y = 0; y < height; ++y) for (x = 0; x < width; ++x) @@ -263,7 +263,7 @@ } } - noteDetail("Completed Initializing of AC coefficient information."); + noteDetail((char*)"Completed Initializing of AC coefficient information."); return err; }