[Mplayer-cvslog] CVS: main/libvo sub.c,1.68,1.69

Arpi of Ize arpi at mplayerhq.hu
Sun Jan 19 21:13:52 CET 2003


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

Modified Files:
	sub.c 
Log Message:
1000l


Index: sub.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/sub.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -r1.68 -r1.69
--- sub.c	6 Jan 2003 12:27:38 -0000	1.68
+++ sub.c	19 Jan 2003 20:13:49 -0000	1.69
@@ -429,7 +429,9 @@
        font.
        *sfalco*
      */
-    if(suboverlap_enabled) obj->y -= vo_font->pic_a[vo_font->font[40]]->h - vo_font->height;
+    if(suboverlap_enabled &&
+       vo_font->font[40]>=0 && vo_font->pic_a[vo_font->font[40]])
+	obj->y -= vo_font->pic_a[vo_font->font[40]]->h - vo_font->height;
 
     h = dys - obj->y;
     if (sub_alignment == 2)



More information about the MPlayer-cvslog mailing list