changeset 8188:ec8636e02720

don't print error if no error
author arpi
date Thu, 14 Nov 2002 11:15:17 +0000
parents d9e5b75f9a15
children 332f083385ac
files libmpcodecs/vd_qtvideo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_qtvideo.c	Thu Nov 14 10:25:57 2002 +0000
+++ b/libmpcodecs/vd_qtvideo.c	Thu Nov 14 11:15:17 2002 +0000
@@ -287,7 +287,7 @@
 #endif
 
     cres=ImageCodecBandDecompress(ci,&decpar);
-    printf("ImageCodecBandDecompress cres=0x%X (-0x%X) %d\n",cres,-cres,cres);
+    if(cres&0xFFFF) printf("ImageCodecBandDecompress cres=0x%X (-0x%X) %d\n",cres,-cres,cres);
 
     ++decpar.frameNumber;