From 3a278992bdd8138eeefc9df06878703480f27b1b Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sun, 14 Mar 2004 04:04:08 +0000 Subject: remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG -> MKTAG/MKBETAG Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/adpcm.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libavcodec/adpcm.c') diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 5933ffe992..2ce7dc87f5 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -45,13 +45,6 @@ #define BLKSIZE 1024 -#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]) - #define CLAMP_TO_SHORT(value) \ if (value > 32767) \ value = 32767; \ -- cgit v1.2.3