From 3e5a8ec5f426e0b41220b5ea6aa0cae1e4ea6863 Mon Sep 17 00:00:00 2001 From: szabii Date: Wed, 11 Apr 2001 21:48:30 +0000 Subject: [PATCH] -fbdepth fix git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@365 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_fbdev.c | 4 ++-- 1 file 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; }