# HG changeset patch # User arpi # Date 1017681119 0 # Node ID 600208b5b5d3b2eaf23854f1d9dae3cf529567a0 # Parent 5546543ae874894bcde3990714df4828bc3acf41 freeing codec in/out buffers is job of libmpcodecs, not demuxer diff -r 5546543ae874 -r 600208b5b5d3 libmpdemux/demuxer.c --- 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); }