diff options
author | szabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-11 21:48:30 +0000 |
---|---|---|
committer | szabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-04-11 21:48:30 +0000 |
commit | 3e5a8ec5f426e0b41220b5ea6aa0cae1e4ea6863 (patch) | |
tree | 1563a309bd48a08175e9a9526acd2f439e7d4bb6 /libvo/vo_fbdev.c | |
parent | a386709ec3cf1a41394c6a8567411598173d0d5c (diff) | |
download | mpv-3e5a8ec5f426e0b41220b5ea6aa0cae1e4ea6863.tar.bz2 mpv-3e5a8ec5f426e0b41220b5ea6aa0cae1e4ea6863.tar.xz |
-fbdepth fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@365 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_fbdev.c')
-rw-r--r-- | libvo/vo_fbdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c index d723529893..00d172a493 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -454,8 +454,8 @@ static int fb_init(void) } else if (fb_mode_depth) { printf("fb_init: Do _not_ use the 'fbdepth' parameter! " "this parameter will be removed\n"); - if (fb_mode_depth != 15 || fb_mode_depth != 16 || - fb_mode_depth != 24 || fb_mode_depth != 32) { + if (fb_mode_depth != 15 && fb_mode_depth != 16 && + fb_mode_depth != 24 && fb_mode_depth != 32) { printf("fb_init: can't switch to %d bpp\n", fb_mode_depth); return 1; } |