Mercurial > mplayer.hg
diff libvo/vo_fbdev.c @ 364:071c81d79b71
-fbdepth fix
author | szabii |
---|---|
date | Wed, 11 Apr 2001 21:48:30 +0000 |
parents | f02474901080 |
children | 1e7dba55717f |
line wrap: on
line diff
--- a/libvo/vo_fbdev.c Wed Apr 11 21:36:56 2001 +0000 +++ b/libvo/vo_fbdev.c Wed Apr 11 21:48:30 2001 +0000 @@ -454,8 +454,8 @@ } 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; }