summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_image.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/demuxers/demux_image.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/demuxers/demux_image.c')
-rw-r--r--src/demuxers/demux_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/demux_image.c b/src/demuxers/demux_image.c
index d799c2324..629299281 100644
--- a/src/demuxers/demux_image.c
+++ b/src/demuxers/demux_image.c
@@ -168,7 +168,7 @@ static demux_plugin_t *open_plugin (demux_class_t *class_gen,
}
if (memcmp (header, "GIF", 3) == 0 /* GIF */
|| memcmp (header, "\377\330\377", 3) == 0 /* JPEG */
- || (BE_16(&header[0]) == 0xffd8) /* another JPEG */
+ || (_X_BE_16(&header[0]) == 0xffd8) /* another JPEG */
|| memcmp (header, "\x89PNG", 4) == 0) { /* PNG */
break;
}