changeset 9045:417a20a4fc75

don't -nosound if libaf init failed (hwac3 fix)
author arpi
date Mon, 20 Jan 2003 21:28:05 +0000
parents 59b1bd7ccae1
children 13b7ad16f278
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Mon Jan 20 18:25:41 2003 +0000
+++ b/mplayer.c	Mon Jan 20 21:28:05 2003 +0000
@@ -1676,8 +1676,8 @@
 	audio_out_format_bits(ao_data.format)/8, /* ao_data.bps, */
 	ao_data.outburst*4, ao_data.buffersize)){
       mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format! -> NOSOUND\n");
-      uninit_player(INITED_ACODEC|INITED_AO); // close codec & ao
-      sh_audio=d_audio->sh=NULL; // -> nosound
+//      uninit_player(INITED_ACODEC|INITED_AO); // close codec & ao
+//      sh_audio=d_audio->sh=NULL; // -> nosound
     }
 #endif
   }