changeset 13008:462408dae3e7

do not exit without an error message
author faust3
date Thu, 12 Aug 2004 18:54:22 +0000
parents 2a91140108fe
children e50313e4b899
files libmpcodecs/ad_qtaudio.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_qtaudio.c	Thu Aug 12 12:37:32 2004 +0000
+++ b/libmpcodecs/ad_qtaudio.c	Thu Aug 12 18:54:22 2004 +0000
@@ -180,8 +180,10 @@
     mp_msg(MSGT_DECAUDIO,MSGL_DBG2,"loader_init DONE!\n");
 
     error = InitializeQTML(6+16);
-    mp_msg(MSGT_DECAUDIO,MSGL_DBG2,"InitializeQTML:%i\n",error);
-    if(error) return 0;
+    if(error){
+        mp_msg(MSGT_DECAUDIO,MSGL_ERR,"InitializeQTML:%i\n",error);
+        return 0;
+    }
 #endif
     
 #if 1