[Mplayer-cvslog] CVS: main mplayer.c,1.659,1.660

Arpi of Ize arpi at mplayerhq.hu
Mon Jan 20 23:51:05 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv13599

Modified Files:
	mplayer.c 
Log Message:
hwac3 fix again


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.659
retrieving revision 1.660
diff -u -r1.659 -r1.660
--- mplayer.c	20 Jan 2003 22:49:50 -0000	1.659
+++ mplayer.c	20 Jan 2003 22:51:01 -0000	1.660
@@ -1664,6 +1664,9 @@
 	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");
+      if(sh_audio->afilter){
+          free(sh_audio->afilter); sh_audio->afilter=NULL;
+      }
 //      uninit_player(INITED_ACODEC|INITED_AO); // close codec & ao
 //      sh_audio=d_audio->sh=NULL; // -> nosound
     }



More information about the MPlayer-cvslog mailing list