aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudio.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-14 00:48:17 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-14 00:48:17 +0000
commitad1eebe360dc587c676d8230d71b9156a0e197f0 (patch)
tree6c9b1254b4bb59dfb2f701beeb86077c71756764 /libavcodec/mpegaudio.h
parentddda628e810de14d8e5a84cae9f5d0bf66d9909c (diff)
downloadffmpeg-ad1eebe360dc587c676d8230d71b9156a0e197f0.tar.gz
Use CONFIG_MPEGAUDIO_HP directly instead of USE_HIGHPRECISION indirection.
Originally committed as revision 16594 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudio.h')
-rw-r--r--libavcodec/mpegaudio.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h
index 33af18dc1a..51bc0795eb 100644
--- a/libavcodec/mpegaudio.h
+++ b/libavcodec/mpegaudio.h
@@ -51,10 +51,7 @@
#define MP3_MASK 0xFFFE0CCF
-/* define USE_HIGHPRECISION to have a bit exact (but slower) mpeg
- audio decoder */
-
-#ifdef USE_HIGHPRECISION
+#ifdef CONFIG_MPEGAUDIO_HP
#define FRAC_BITS 23 /* fractional bits for sb_samples and dct */
#define WFRAC_BITS 16 /* fractional bits for window */
#else
@@ -66,7 +63,7 @@
#define FIX(a) ((int)((a) * FRAC_ONE))
-#if defined(USE_HIGHPRECISION) && defined(CONFIG_AUDIO_NONSHORT)
+#if defined(CONFIG_MPEGAUDIO_HP) && defined(CONFIG_AUDIO_NONSHORT)
typedef int32_t OUT_INT;
#define OUT_MAX INT32_MAX
#define OUT_MIN INT32_MIN