changeset 16758:dbe5207f8c92

exit mplayer if audio filter init fails (same as mencoder does)
author ivo
date Thu, 13 Oct 2005 22:41:30 +0000
parents e199fcec84a5
children 4fe8f21fd1da
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Oct 13 22:23:42 2005 +0000
+++ b/mplayer.c	Thu Oct 13 22:41:30 2005 +0000
@@ -2253,6 +2253,7 @@
 	// output:
 	&ao_data.samplerate, &ao_data.channels, &ao_data.format)){
       mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_AudioFilterChainPreinitError);
+      exit_player(MSGTR_Exit_error);
   }
 #endif  
   current_module="ao2_init";