Mercurial > libavcodec.hg
diff dpcm.c @ 1881:39ad6cd5d4a6 libavcodec
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG
author | melanson |
---|---|
date | Sun, 14 Mar 2004 04:04:08 +0000 |
parents | 19ee8ddea820 |
children | c443a6af19a7 |
line wrap: on
line diff
--- a/dpcm.c Sat Mar 13 22:01:32 2004 +0000 +++ b/dpcm.c Sun Mar 14 04:04:08 2004 +0000 @@ -44,11 +44,6 @@ #define SATURATE_S16(x) if (x < -32768) x = -32768; \ else if (x > 32767) x = 32767; #define SE_16BIT(x) if (x & 0x8000) x -= 0x10000; -#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]) static int interplay_delta_table[] = { 0, 1, 2, 3, 4, 5, 6, 7,