[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.86,1.87
Arpi of Ize
arpi at mplayer.dev.hu
Mon Apr 1 19:12:02 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv4366
Modified Files:
demuxer.c
Log Message:
freeing codec in/out buffers is job of libmpcodecs, not demuxer
Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- demuxer.c 31 Mar 2002 02:45:14 -0000 1.86
+++ demuxer.c 1 Apr 2002 17:11:59 -0000 1.87
@@ -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);
}
More information about the MPlayer-cvslog
mailing list