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

Alban Bedel CVS albeu at mplayerhq.hu
Wed Oct 30 18:51:15 CET 2002


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

Modified Files:
	vo_fbdev.c 
Log Message:
10L


Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- vo_fbdev.c	23 Oct 2002 18:51:19 -0000	1.73
+++ vo_fbdev.c	30 Oct 2002 17:51:13 -0000	1.74
@@ -834,8 +834,10 @@
 
 	if (verbose > 1)
 		printf(FBDEV "vt_set_textarea(%d,%d): %d,%d\n", u, l, urow, lrow);
-	fprintf(vt_fp, "\33[%d;%dr\33[%d;%dH", urow, lrow, lrow, 0);
-	fflush(vt_fp);
+	if(vt_fp) {
+	  fprintf(vt_fp, "\33[%d;%dr\33[%d;%dH", urow, lrow, lrow, 0);
+	  fflush(vt_fp);
+	}
 }
 
 static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,




More information about the MPlayer-cvslog mailing list