summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudioenc.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-05-09 12:40:37 +0100
committerMans Rullgard <mans@mansr.com>2011-05-09 17:30:12 +0100
commit6bb6fb05ba66ce42ca17c930d81d3e9cf37ab34d (patch)
tree433c4710c06a66d1284806bd7989b3b8697a2406 /libavcodec/mpegaudioenc.c
parented87375dd555a1e7798dcd56c967af0171525a26 (diff)
mpegaudio: remove CONFIG_MPEGAUDIO_HP option
The low quality mode is off by default and never tested. The high quality mode is also plenty fast enough. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mpegaudioenc.c')
-rw-r--r--libavcodec/mpegaudioenc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c
index 65fac2ad29..e6f2e3b9c2 100644
--- a/libavcodec/mpegaudioenc.c
+++ b/libavcodec/mpegaudioenc.c
@@ -27,8 +27,9 @@
#include "avcodec.h"
#include "put_bits.h"
-#undef CONFIG_MPEGAUDIO_HP
-#define CONFIG_MPEGAUDIO_HP 0
+#define FRAC_BITS 15 /* fractional bits for sb_samples and dct */
+#define WFRAC_BITS 14 /* fractional bits for window */
+
#include "mpegaudio.h"
/* currently, cannot change these constants (need to modify