[Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.62,1.63
Alex Beregszaszi
alex at mplayerhq.hu
Thu May 23 17:40:11 CEST 2002
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv8137
Modified Files:
vo_fbdev.c
Log Message:
applied 64bit patch from Ulrich Hecht <uli at suse dot de>
Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- vo_fbdev.c 18 Feb 2002 18:37:39 -0000 1.62
+++ vo_fbdev.c 23 May 2002 15:40:08 -0000 1.63
@@ -52,7 +52,7 @@
/* Name of VIDIX driver */
static const char *vidix_name = NULL;
#endif
-static int pre_init_err = 0xFFFFFFFEUL;
+static signed int pre_init_err = -2;
/******************************
* fb.modes support *
******************************/
@@ -912,7 +912,7 @@
fs = fullscreen & 0x01;
flip = fullscreen & 0x08;
- if(pre_init_err == 0xFFFFFFFEUL)
+ if(pre_init_err == -2)
{
printf(FBDEV "Internal fatal error: init() was called before preinit()\n");
return -1;
@@ -1347,6 +1347,7 @@
printf("vo_subdevice: initialization returns: %i\n",pre_init_err);
#endif
if(!pre_init_err) return (pre_init_err=(fb_preinit()?0:-1));
+ return(-1);
}
#ifdef HAVE_PNG
More information about the MPlayer-cvslog
mailing list