aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xan.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-03-14 04:04:08 +0000
committerMike Melanson <mike@multimedia.cx>2004-03-14 04:04:08 +0000
commit3a278992bdd8138eeefc9df06878703480f27b1b (patch)
tree6891b1a6c885f6c5dd68843695739c53c8741c9b /libavcodec/xan.c
parent9eef2b77b29189606148e1fdf5d6c8d7b52b08b0 (diff)
downloadffmpeg-3a278992bdd8138eeefc9df06878703480f27b1b.tar.gz
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xan.c')
-rw-r--r--libavcodec/xan.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/xan.c b/libavcodec/xan.c
index 4dad2e2141..f98a06bca9 100644
--- a/libavcodec/xan.c
+++ b/libavcodec/xan.c
@@ -58,13 +58,6 @@ typedef struct XanContext {
} XanContext;
-#define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
-#define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0])
-#define LE_32(x) ((((uint8_t*)(x))[3] << 24) | \
- (((uint8_t*)(x))[2] << 16) | \
- (((uint8_t*)(x))[1] << 8) | \
- ((uint8_t*)(x))[0])
-
/* RGB -> YUV conversion stuff */
#define SCALEFACTOR 65536
#define CENTERSAMPLE 128