diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-07-26 19:53:00 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-07-26 19:53:00 +0000 |
commit | e5751ced4f16fe75f835b70e37ecf48a2032506b (patch) | |
tree | 38684770a130fa5d209776ef7413c22b7d2cec4b /libvo/vo_x11.c | |
parent | c242fdbfd9242873aae85be9f841f1f3caf9633f (diff) | |
download | mpv-e5751ced4f16fe75f835b70e37ecf48a2032506b.tar.bz2 mpv-e5751ced4f16fe75f835b70e37ecf48a2032506b.tar.xz |
Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 1d5b2b55a0..05762e5bbe 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -267,7 +267,7 @@ static void freeMyXImage(void) ImageData = NULL; } -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN #define BO_NATIVE MSBFirst #define BO_NONNATIVE LSBFirst #else @@ -457,7 +457,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, // we can easily "emulate" them. if (out_format & 64 && (IMGFMT_IS_RGB(out_format) || IMGFMT_IS_BGR(out_format))) { out_format &= ~64; -#ifdef WORDS_BIGENDIAN +#if HAVE_BIGENDIAN out_offset = 1; #else out_offset = -1; |