diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-16 15:11:56 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-16 15:11:56 +0200 |
commit | f86215baf77d5b928a047d83ea19ea442f2a83f9 (patch) | |
tree | f663dc788902b722657e745ce9144a5116c82022 /src/libxinevdec/rgb.c | |
parent | ca74f1ccdf190bdd0beff7dfc7722a11b43b649d (diff) | |
download | xine-lib-f86215baf77d5b928a047d83ea19ea442f2a83f9.tar.gz xine-lib-f86215baf77d5b928a047d83ea19ea442f2a83f9.tar.bz2 |
Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with Solaris definitions.
Diffstat (limited to 'src/libxinevdec/rgb.c')
-rw-r--r-- | src/libxinevdec/rgb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libxinevdec/rgb.c b/src/libxinevdec/rgb.c index 662df01de..32d809061 100644 --- a/src/libxinevdec/rgb.c +++ b/src/libxinevdec/rgb.c @@ -203,7 +203,7 @@ static void rgb_decode_data (video_decoder_t *this_gen, } else if (this->bytes_per_pixel == 2) { /* ABGR1555 format, little-endian order */ - packed_pixel = LE_16(&this->buf[buf_ptr]); + packed_pixel = _X_LE_16(&this->buf[buf_ptr]); buf_ptr += 2; UNPACK_BGR15(packed_pixel, r, g, b); @@ -315,7 +315,7 @@ static void rgb_decode_data (video_decoder_t *this_gen, } else if (this->bytes_per_pixel == 2) { /* ARGB1555 format, big-endian order */ - packed_pixel = BE_16(&this->buf[buf_ptr]); + packed_pixel = _X_BE_16(&this->buf[buf_ptr]); buf_ptr += 2; UNPACK_RGB15(packed_pixel, r, g, b); |