changeset 21599:fe48c337a269

10l, missing () in check for 32bit endian-conversion hack
author reimar
date Thu, 14 Dec 2006 18:14:57 +0000
parents fa4f5b0fd510
children ca8327c8d1fb
files libvo/vo_x11.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_x11.c	Thu Dec 14 16:48:26 2006 +0000
+++ b/libvo/vo_x11.c	Thu Dec 14 18:14:57 2006 +0000
@@ -556,7 +556,7 @@
     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;