diff options
author | szabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-10 22:04:54 +0000 |
---|---|---|
committer | szabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-10 22:04:54 +0000 |
commit | e17324ce65fde8e4533153396c04c962a192e804 (patch) | |
tree | 85bd810c13e66527d33edf6b77245c0b6eb0f331 | |
parent | aac85fc010c4b68480a16f364a3890ee008cf7ce (diff) | |
download | mpv-e17324ce65fde8e4533153396c04c962a192e804.tar.bz2 mpv-e17324ce65fde8e4533153396c04c962a192e804.tar.xz |
nothing important
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1088 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_fbdev.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c index 97a98e6b8c..193d419cf2 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -453,7 +453,7 @@ static fb_mode_t *find_best_mode(int xres, int yres, range_t *hfreq, static void set_bpp(struct fb_var_screeninfo *p, int bpp) { p->bits_per_pixel = (bpp + 1) & ~1; - p->red.msb_right = p->green.msb_right = p->blue.msb_right = 0; + p->red.msb_right = p->green.msb_right = p->blue.msb_right = p->transp.msb_right = 0; p->transp.offset = p->transp.length = 0; p->blue.offset = 0; switch (bpp) { @@ -568,15 +568,15 @@ char *monitor_vfreq_str = NULL; char *monitor_dotclock_str = NULL; /* fb.modes related variables */ -range_t *monitor_hfreq = NULL; -range_t *monitor_vfreq = NULL; -range_t *monitor_dotclock = NULL; +static range_t *monitor_hfreq = NULL; +static range_t *monitor_vfreq = NULL; +static range_t *monitor_dotclock = NULL; static fb_mode_t *fb_mode = NULL; /* vt related variables */ -int vt_fd; -FILE *vt_fp; -int vt_doit = 1; +static int vt_fd; +static FILE *vt_fp; +static int vt_doit = 1; /* vo_fbdev related variables */ static int fb_dev_fd; |