aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec.c
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/mpegaudiodec.c
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/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index efab550e4f..cda2d0ae69 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -34,12 +34,6 @@
* - test lsf / mpeg25 extensively.
*/
-/* define USE_HIGHPRECISION to have a bit exact (but slower) mpeg
- audio decoder */
-#if CONFIG_MPEGAUDIO_HP
-# define USE_HIGHPRECISION
-#endif
-
#include "mpegaudio.h"
#include "mpegaudiodecheader.h"
@@ -322,7 +316,7 @@ static int decode_init(AVCodecContext * avctx)
s->avctx = avctx;
-#if defined(USE_HIGHPRECISION) && defined(CONFIG_AUDIO_NONSHORT)
+#if defined(CONFIG_MPEGAUDIO_HP) && defined(CONFIG_AUDIO_NONSHORT)
avctx->sample_fmt= SAMPLE_FMT_S32;
#else
avctx->sample_fmt= SAMPLE_FMT_S16;