[FFmpeg-cvslog] mpegaudio: remove CONFIG_AUDIO_NONSHORT
Mans Rullgard
git at videolan.org
Tue May 10 04:03:35 CEST 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun May 8 21:44:12 2011 +0100| [3a2e80ecbc893cbe2ae5bfb7282e4588e7ad1fa5] | committer: Mans Rullgard
mpegaudio: remove CONFIG_AUDIO_NONSHORT
This fake option cannot be enabled by normal means, and the
floating-point decoder should provide the higher quality this
option presumably was intended for.
Signed-off-by: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3a2e80ecbc893cbe2ae5bfb7282e4588e7ad1fa5
---
libavcodec/mpegaudio.h | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h
index fbfddcc..870743c 100644
--- a/libavcodec/mpegaudio.h
+++ b/libavcodec/mpegaudio.h
@@ -35,8 +35,6 @@
#include "dsputil.h"
#include "dct.h"
-#define CONFIG_AUDIO_NONSHORT 0
-
/* max frame size, in samples */
#define MPA_FRAME_SIZE 1152
@@ -73,12 +71,6 @@
#if CONFIG_FLOAT
typedef float OUT_INT;
#define OUT_FMT AV_SAMPLE_FMT_FLT
-#elif CONFIG_MPEGAUDIO_HP && CONFIG_AUDIO_NONSHORT
-typedef int32_t OUT_INT;
-#define OUT_MAX INT32_MAX
-#define OUT_MIN INT32_MIN
-#define OUT_SHIFT (WFRAC_BITS + FRAC_BITS - 31)
-#define OUT_FMT AV_SAMPLE_FMT_S32
#else
typedef int16_t OUT_INT;
#define OUT_MAX INT16_MAX
More information about the ffmpeg-cvslog
mailing list