[Mplayer-cvslog] CVS: main/libvo mga_common.c,1.49,1.50
Richard Felker CVS
rfelker at mplayerhq.hu
Sat Jan 4 20:17:40 CET 2003
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv7689/libvo
Modified Files:
mga_common.c
Log Message:
don't keep mga_vid device open if x11 init fails (fixes "-vo xmga,mga")
Index: mga_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/mga_common.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- mga_common.c 6 Nov 2002 23:54:27 -0000 1.49
+++ mga_common.c 4 Jan 2003 19:17:37 -0000 1.50
@@ -421,7 +421,10 @@
}
#ifdef VO_XMGA
- if (!vo_init()) return -1;
+ if (!vo_init()) {
+ close(f);
+ return -1;
+ }
#endif
return 0;
More information about the MPlayer-cvslog
mailing list