[Mplayer-cvslog] CVS: main/libvo sub.c,1.73,1.74

Sascha Sommer CVS syncmail at mplayerhq.hu
Sun Jul 11 14:46:02 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv22110/libvo

Modified Files:
	sub.c 
Log Message:
don't use uninitialized font descriptions

Index: sub.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/sub.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- sub.c	27 Oct 2003 21:36:29 -0000	1.73
+++ sub.c	11 Jul 2004 12:45:59 -0000	1.74
@@ -342,7 +342,7 @@
    
    obj->flags|=OSDFLAG_CHANGED|OSDFLAG_VISIBLE;
 
-   if(!vo_sub || !vo_font || !sub_visibility){
+   if(!vo_sub || !vo_font || !sub_visibility || (vo_font->font[40]<0)){
        obj->flags&=~OSDFLAG_VISIBLE;
        return;
    }




More information about the MPlayer-cvslog mailing list