diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-17 20:57:37 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-17 20:57:37 +0200 |
commit | 9acdd1f2356605d742f236ca275460dd9928bb11 (patch) | |
tree | 8ddba80cdf284cafdcac44de39f8099f396c0ed4 /src/libxinevdec/rgb.c | |
parent | 42dc706af7a1f43c7ded0cc28957c8beb9ab08b1 (diff) | |
parent | 5935b6fbe5c4d83ea35a1464b3a1c32e00b23304 (diff) | |
download | xine-lib-9acdd1f2356605d742f236ca275460dd9928bb11.tar.gz xine-lib-9acdd1f2356605d742f236ca275460dd9928bb11.tar.bz2 |
Merge changes from Solaris branch. (1.2 branch commit).
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); |