From 2025452bd0abd0e2c15dfebf4e402cbcb263eca3 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 14 Dec 2006 18:14:57 +0000 Subject: 10l, missing () in check for 32bit endian-conversion hack git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21615 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index c17f1562ae..b0948f3fd5 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -556,7 +556,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, out_offset = 0; // for these formats conversion is currently not support and // we can easily "emulate" them. - if (out_format & 64 && IMGFMT_IS_RGB(out_format) || IMGFMT_IS_BGR(out_format)) { + if (out_format & 64 && (IMGFMT_IS_RGB(out_format) || IMGFMT_IS_BGR(out_format))) { out_format &= ~64; #ifdef WORDS_BIGENDIAN out_offset = 1; -- cgit v1.2.3