changeset 5456:600208b5b5d3

freeing codec in/out buffers is job of libmpcodecs, not demuxer
author arpi
date Mon, 01 Apr 2002 17:11:59 +0000
parents 5546543ae874
children f248c9e86423
files libmpdemux/demuxer.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Mon Apr 01 15:45:45 2002 +0000
+++ b/libmpdemux/demuxer.c	Mon Apr 01 17:11:59 2002 +0000
@@ -99,8 +99,6 @@
 
 void free_sh_audio(sh_audio_t* sh){
     mp_msg(MSGT_DEMUXER,MSGL_V,"DEMUXER: freeing sh_audio at %p  \n",sh);
-    if(sh->a_in_buffer) free(sh->a_in_buffer);
-    if(sh->a_buffer) free(sh->a_buffer);
     if(sh->wf) free(sh->wf);
     free(sh);
 }
@@ -135,7 +133,6 @@
 
 void free_sh_video(sh_video_t* sh){
     mp_msg(MSGT_DEMUXER,MSGL_V,"DEMUXER: freeing sh_video at %p  \n",sh);
-//    if(sh->our_out_buffer) free(sh->our_out_buffer);
     if(sh->bih) free(sh->bih);
     free(sh);
 }