From cb2f0e7c38020a9d0777f0d4ccbb0a9f05e622fc Mon Sep 17 00:00:00 2001 From: mplayer-svn Date: Tue, 7 Feb 2012 22:07:09 +0000 Subject: libmpcodecs: use 128 instead of 64 to define non-native RGB image formats git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34659 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: cehoyos --- libvo/vo_x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index b873113cb8..cee2b0bf0c 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -429,8 +429,8 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, } out_offset = 0; // We can easily "emulate" non-native RGB32 and BGR32 - if (out_format == (IMGFMT_BGR32 | 64) || out_format == (IMGFMT_RGB32 | 64)) { - out_format &= ~64; + if (out_format == (IMGFMT_BGR32 | 128) || out_format == (IMGFMT_RGB32 | 128)) { + out_format &= ~128; #if BYTE_ORDER == BIG_ENDIAN out_offset = 1; #else -- cgit v1.2.3