From 7b603cfb2c98112747d4a217dfba9629664623fa Mon Sep 17 00:00:00 2001 From: arpi Date: Tue, 28 Jan 2003 00:08:30 +0000 Subject: [PATCH] probably bad fix, but it's reported to fix hwac3 problems appeared in rc3 i have no idea about the real problem :( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9129 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mplayer.c b/mplayer.c index e737fa2095..728e1284cc 100644 --- a/mplayer.c +++ b/mplayer.c @@ -1675,10 +1675,15 @@ if(sh_audio){ 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 }