--- common/video/iso-mpeg4/src/vtc_zte_ztscanUtil.cpp.orig 2005-05-04 13:56:01.000000000 -0600 +++ common/video/iso-mpeg4/src/vtc_zte_ztscanUtil.cpp 2009-11-19 04:28:52.000000000 -0700 @@ -117,7 +117,7 @@ { if ((acmBPMag[col][l] =(ac_model *)calloc(WVTDECOMP_NUMBITPLANES(col,l),sizeof(ac_model)))==NULL&& WVTDECOMP_NUMBITPLANES(col,l)!=0) // modified by Sharp (99/5/10) - errorHandler("Can't alloc acmBPMag in probModelInitSQ."); + errorHandler((char*)"Can't alloc acmBPMag in probModelInitSQ."); for(i=0;i<WVTDECOMP_NUMBITPLANES(col,l);i++) { mzte_ac_model_init(&acmBPMag[col][l][i],2,NULL,ADAPT,1); @@ -194,7 +194,7 @@ // int jj = mzte_codec.m_SPlayer[col].SNRlayer.snr_image.wvtDecompResNumBitPlanes ; if ((acmBPMag[col][l] =(ac_model *)calloc(WVTDECOMP_NUMBITPLANES(col,l),sizeof(ac_model)))==NULL&& WVTDECOMP_NUMBITPLANES(col,l)!=0) // modified by Sharp (99/5/10) - errorHandler("Can't alloc acmBPMag in probModelInitSQ."); + errorHandler((char*)"Can't alloc acmBPMag in probModelInitSQ."); for(i=0;i<WVTDECOMP_NUMBITPLANES(col,l);i++) { mzte_ac_model_init(&acmBPMag[col][l][i],2,NULL,ADAPT,1); @@ -203,7 +203,7 @@ if ((acmBPRes[col][l] =(ac_model *)calloc(WVTDECOMP_RES_NUMBITPLANES(col),sizeof(ac_model)))==NULL&& WVTDECOMP_RES_NUMBITPLANES(col) != 0 ) // modified by Sharp (99/5/10) - errorHandler("Can't alloc acmBPRes in probModelInitMQ."); + errorHandler((char*)"Can't alloc acmBPRes in probModelInitMQ."); for(i=0;i<WVTDECOMP_RES_NUMBITPLANES(col);i++) { mzte_ac_model_init(&acmBPRes[col][l][i],2,NULL,ADAPT,1); @@ -522,7 +522,7 @@ w-=level_w; break; default: - errorHandler("%d is not a choice for subband_loc.",subband_loc); + errorHandler((char*)"%d is not a choice for subband_loc.",subband_loc); } if(wvt_level<=3)