summaryrefslogtreecommitdiff
path: root/src/libffmpeg/ff_video_decoder.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-16 15:11:56 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-16 15:11:56 +0200
commitf86215baf77d5b928a047d83ea19ea442f2a83f9 (patch)
treef663dc788902b722657e745ce9144a5116c82022 /src/libffmpeg/ff_video_decoder.c
parentca74f1ccdf190bdd0beff7dfc7722a11b43b649d (diff)
downloadxine-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/libffmpeg/ff_video_decoder.c')
-rw-r--r--src/libffmpeg/ff_video_decoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libffmpeg/ff_video_decoder.c b/src/libffmpeg/ff_video_decoder.c
index 3943fd05d..66cbc7d75 100644
--- a/src/libffmpeg/ff_video_decoder.c
+++ b/src/libffmpeg/ff_video_decoder.c
@@ -880,10 +880,10 @@ static void ff_handle_header_buffer (ff_video_decoder_t *this, buf_element_t *bu
switch (codec_type) {
case BUF_VIDEO_RV10:
case BUF_VIDEO_RV20:
- this->bih.biWidth = BE_16(&this->buf[12]);
- this->bih.biHeight = BE_16(&this->buf[14]);
+ this->bih.biWidth = _X_BE_16(&this->buf[12]);
+ this->bih.biHeight = _X_BE_16(&this->buf[14]);
- this->context->sub_id = BE_32(&this->buf[30]);
+ this->context->sub_id = _X_BE_32(&this->buf[30]);
this->context->slice_offset = xine_xmalloc(sizeof(int)*SLICE_OFFSET_SIZE);
this->slice_offset_size = SLICE_OFFSET_SIZE;