diff options
author | Lasse Reinhold <lassemikkelreinhold@hotmail.com> | 2009-09-30 15:13:09 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-09-30 15:13:09 +0000 |
commit | 391dbb54a640f6943bb879e8d301114caab83210 (patch) | |
tree | a34bae39c112d8cde5a0eb2f0060749bdf4b180b /libavcodec | |
parent | 5dd76bd741022ee87c8a1945e4ef0d97467f70e3 (diff) | |
download | ffmpeg-391dbb54a640f6943bb879e8d301114caab83210.tar.gz |
Use floating point mathematics when encoding mpeg audio.
Fixes issue 975: high db peak levels when encoding mp2
Original patch by Lasse Reinhold, lassemikkelreinhold hotmail
Originally committed as revision 20100 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegaudioenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudioenc.c b/libavcodec/mpegaudioenc.c index aefdbc6ba1..a1e2023ba1 100644 --- a/libavcodec/mpegaudioenc.c +++ b/libavcodec/mpegaudioenc.c @@ -59,7 +59,7 @@ typedef struct MpegAudioContext { } MpegAudioContext; /* define it to use floats in quantization (I don't like floats !) */ -//#define USE_FLOATS +#define USE_FLOATS #include "mpegaudiodata.h" #include "mpegaudiotab.h" |