changeset 9128:c947458ad326

probably bad fix, but it's reported to fix hwac3 problems appeared in rc3 i have no idea about the real problem :(
author arpi
date Tue, 28 Jan 2003 00:08:30 +0000
parents 00e6fb4ef55e
children 6ecc0b5c08cb
files mplayer.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Mon Jan 27 23:45:50 2003 +0000
+++ b/mplayer.c	Tue Jan 28 00:08:30 2003 +0000
@@ -1675,10 +1675,15 @@
 	ao_data.samplerate, ao_data.channels, ao_data.format,
 	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");
+      mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format!\n");
+#if 0
       if(sh_audio->afilter){
           free(sh_audio->afilter); sh_audio->afilter=NULL;
       }
+#else
+      sh_audio->afilter=NULL;
+#endif
+//      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
     }