changeset 14527:5417ab15e900

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
author iive
date Mon, 17 Jan 2005 17:27:39 +0000
parents 878883445ab8
children 860f06087aac
files libmpcodecs/dec_audio.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c	Sun Jan 16 23:24:03 2005 +0000
+++ b/libmpcodecs/dec_audio.c	Mon Jan 17 17:27:39 2005 +0000
@@ -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 */