[MPlayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.34,1.35

Ivan Kalvachev CVS syncmail at mplayerhq.hu
Mon Jan 17 18:27:41 CET 2005


CVS change done by Ivan Kalvachev CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv4285

Modified Files:
	dec_audio.c 
Log Message:
Revert sh_audio->wf freeing.
Freeing should be done elsewhere, as it prevents second codec to access the same structure.
Reported by elupus at ecce.se


Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_audio.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- dec_audio.c	27 Dec 2004 17:30:14 -0000	1.34
+++ dec_audio.c	17 Jan 2005 17:27:39 -0000	1.35
@@ -252,8 +252,6 @@
     sh_audio->a_buffer=NULL;
     if(sh_audio->a_in_buffer) free(sh_audio->a_in_buffer);
     sh_audio->a_in_buffer=NULL;
-    if(sh_audio->wf) free(sh_audio->wf);
-    sh_audio->wf=NULL;
 }
 
  /* Init audio filters */




More information about the MPlayer-cvslog mailing list