summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-11 18:12:15 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-11 18:12:15 +0000
commit0872673a5e6b60ed3fe254577d1b189f17cc3a33 (patch)
tree5835bdba549cb385d693f81252ace29e7a7f4188 /libmpcodecs
parent57b3cfcea4f6864e8d86fa631aed278764c8862d (diff)
downloadmpv-0872673a5e6b60ed3fe254577d1b189f17cc3a33.tar.bz2
mpv-0872673a5e6b60ed3fe254577d1b189f17cc3a33.tar.xz
Remove unused macros
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27253 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_imaadpcm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libmpcodecs/ad_imaadpcm.c b/libmpcodecs/ad_imaadpcm.c
index b3d22b327e..33f07b463b 100644
--- a/libmpcodecs/ad_imaadpcm.c
+++ b/libmpcodecs/ad_imaadpcm.c
@@ -33,9 +33,7 @@
#define QT_IMA_ADPCM_SAMPLES_PER_BLOCK 64
#define BE_16(x) (be2me_16(*(unsigned short *)(x)))
-#define BE_32(x) (be2me_32(*(unsigned int *)(x)))
#define LE_16(x) (le2me_16(*(unsigned short *)(x)))
-#define LE_32(x) (le2me_32(*(unsigned int *)(x)))
// pertinent tables for IMA ADPCM
static const int16_t adpcm_step[89] =
@@ -63,8 +61,6 @@ static const int8_t adpcm_index[8] =
#define CLAMP_S16(x) x = av_clip_int16(x);
// clamp a number above 16
#define CLAMP_ABOVE_16(x) if (x < 16) x = 16;
-// sign extend a 4-bit value
-#define SE_4BIT(x) if (x & 0x8) x -= 0x10;
static ad_info_t info =
{