# HG changeset patch # User ivo # Date 1129243290 0 # Node ID dbe5207f8c927d56830522fdcd93a126940bb6e4 # Parent e199fcec84a54975182937f3dc726ce2e0779947 exit mplayer if audio filter init fails (same as mencoder does) diff -r e199fcec84a5 -r dbe5207f8c92 mplayer.c --- 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";