diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-16 15:34:23 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-06-16 15:34:23 +0200 |
commit | 5935b6fbe5c4d83ea35a1464b3a1c32e00b23304 (patch) | |
tree | e4d1ef387a60a17eb797b2b837dc446a009fa19a /src/libw32dll/qt_decoder.c | |
parent | ea58c6bc3db42aad918da8c90ce05997909e7eb8 (diff) | |
download | xine-lib-5935b6fbe5c4d83ea35a1464b3a1c32e00b23304.tar.gz xine-lib-5935b6fbe5c4d83ea35a1464b3a1c32e00b23304.tar.bz2 |
Rename the BE/LE/ME macros with a _X_ prefix, so they don't clash with Solaris definitions (1.2 branch commit).
Diffstat (limited to 'src/libw32dll/qt_decoder.c')
-rw-r--r-- | src/libw32dll/qt_decoder.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/libw32dll/qt_decoder.c b/src/libw32dll/qt_decoder.c index 95a0a79fd..c1672d142 100644 --- a/src/libw32dll/qt_decoder.c +++ b/src/libw32dll/qt_decoder.c @@ -860,20 +860,20 @@ static void qtv_init_driver (qtv_decoder_t *this, buf_element_t *buf) { id=malloc (8+stdata_len) ; /* trak->stdata_len); */ id->idSize = 4+stdata_len; id->cType = FOUR_CHAR_CODE('S','V','Q','3'); - id->version = BE_16 (stdata+0x08); - id->revisionLevel = BE_16 (stdata+0x0C); - id->vendor = BE_32 (stdata+0x10); - id->temporalQuality = BE_32 (stdata+0x14); - id->spatialQuality = BE_32 (stdata+0x18); - id->width = BE_16 (stdata+0x1C); - id->height = BE_16 (stdata+0x1E); - id->hRes = BE_32 (stdata+0x20); - id->vRes = BE_32 (stdata+0x24); - id->dataSize = BE_32 (stdata+0x28); - id->frameCount = BE_16 (stdata+0x2C); + id->version = _X_BE_16 (stdata+0x08); + id->revisionLevel = _X_BE_16 (stdata+0x0C); + id->vendor = _X_BE_32 (stdata+0x10); + id->temporalQuality = _X_BE_32 (stdata+0x14); + id->spatialQuality = _X_BE_32 (stdata+0x18); + id->width = _X_BE_16 (stdata+0x1C); + id->height = _X_BE_16 (stdata+0x1E); + id->hRes = _X_BE_32 (stdata+0x20); + id->vRes = _X_BE_32 (stdata+0x24); + id->dataSize = _X_BE_32 (stdata+0x28); + id->frameCount = _X_BE_16 (stdata+0x2C); memcpy(&id->name,stdata+0x2D,32); - id->depth = BE_16 (stdata+0x4E); - id->clutID = BE_16 (stdata+0x50); + id->depth = _X_BE_16 (stdata+0x4E); + id->clutID = _X_BE_16 (stdata+0x50); if (stdata_len>0x56) memcpy (((char*)&id->clutID)+2, stdata+0x52, stdata_len-0x52); |