[Mplayer-cvslog] CVS: main/libmpcodecs vd_libmpeg2.c,1.32,1.33

Sascha Sommer CVS syncmail at mplayerhq.hu
Wed Aug 25 18:29:23 CEST 2004


CVS change done by Sascha Sommer CVS

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

Modified Files:
	vd_libmpeg2.c 
Log Message:
prevent libmpeg2 from freeing sh

Index: vd_libmpeg2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_libmpeg2.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- vd_libmpeg2.c	24 Aug 2004 17:11:02 -0000	1.32
+++ vd_libmpeg2.c	25 Aug 2004 16:29:21 -0000	1.33
@@ -74,6 +74,7 @@
 static void uninit(sh_video_t *sh){
     mpeg2dec_t * mpeg2dec = sh->context;
     if (mpeg2dec->pending_buffer) free(mpeg2dec->pending_buffer);
+    mpeg2dec->decoder.convert_id=NULL;
     mpeg2_close (mpeg2dec);
 }
 




More information about the MPlayer-cvslog mailing list