[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.82,1.83

Filip Kalinski CVS filon at mplayerhq.hu
Sat Jan 4 23:42:19 CET 2003


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv11617/libvo

Modified Files:
	vo_vesa.c 
Log Message:
Not checking it caused SIGSEV when uninitning after vesa init failed.


Index: vo_vesa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- vo_vesa.c	29 Dec 2002 23:35:30 -0000	1.82
+++ vo_vesa.c	4 Jan 2003 22:41:52 -0000	1.83
@@ -991,6 +991,8 @@
 static void
 uninit(void)
 {
+    // not inited
+    if (!init_state) return;
     vesa_term();
     if(verbose > 2)
         printf("vo_vesa: uninit was called\n");



More information about the MPlayer-cvslog mailing list