diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-12 18:54:22 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-12 18:54:22 +0000 |
commit | ce0365cb269f3a06594d4bdfccd8791ae937228c (patch) | |
tree | d867482e078e9ad5f7422300f2e709a29a90b75a | |
parent | 79657da02a45e37f133fddecaac25124c1f9d4ba (diff) |
do not exit without an error message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13009 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/ad_qtaudio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libmpcodecs/ad_qtaudio.c b/libmpcodecs/ad_qtaudio.c index 7ccdfb98ee..b89d573d67 100644 --- a/libmpcodecs/ad_qtaudio.c +++ b/libmpcodecs/ad_qtaudio.c @@ -180,8 +180,10 @@ static int preinit(sh_audio_t *sh){ 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 |