--- common/video/iso-mpeg4/src/vtc_main_computePSNR.cpp.orig 2005-05-04 13:56:00.000000000 -0600 +++ common/video/iso-mpeg4/src/vtc_main_computePSNR.cpp 2009-11-19 01:24:57.000000000 -0700 @@ -154,39 +154,39 @@ if (stat) { if (infSNR_l==0) - noteStat("\nPSNR_Y: %.4f dB\n",SNR_l); + noteStat((char*)"\nPSNR_Y: %.4f dB\n",SNR_l); else - noteStat("\nPSNR_Y: +INF dB\n"); + noteStat((char*)"\nPSNR_Y: +INF dB\n"); if (colors == 3) { if (infSNR_Cb==0) - noteStat("PSNR_U: %.4f dB\n",SNR_Cb); + noteStat((char*)"PSNR_U: %.4f dB\n",SNR_Cb); else - noteStat("PSNR_U: +INF dB\n"); + noteStat((char*)"PSNR_U: +INF dB\n"); if (infSNR_Cr==0) - noteStat("PSNR_V: %.4f dB\n",SNR_Cr); + noteStat((char*)"PSNR_V: %.4f dB\n",SNR_Cr); else - noteStat("PSNR_V: +INF dB\n"); + noteStat((char*)"PSNR_V: +INF dB\n"); } } else { if (infSNR_l==0) - noteProgress("\nPSNR_Y: %.4f dB",SNR_l); + noteProgress((char*)"\nPSNR_Y: %.4f dB",SNR_l); else - noteProgress("\nPSNR_Y: +INF dB"); + noteProgress((char*)"\nPSNR_Y: +INF dB"); if (colors == 3) { if (infSNR_Cb==0) - noteProgress("PSNR_U: %.4f dB",SNR_Cb); + noteProgress((char*)"PSNR_U: %.4f dB",SNR_Cb); else - noteProgress("PSNR_U: +INF dB"); + noteProgress((char*)"PSNR_U: +INF dB"); if (infSNR_Cr==0) - noteProgress("PSNR_V: %.4f dB",SNR_Cr); + noteProgress((char*)"PSNR_V: %.4f dB",SNR_Cr); else - noteProgress("PSNR_V: +INF dB"); + noteProgress((char*)"PSNR_V: +INF dB"); } } }