changeset 10328:d4c97368f3e4 libavcodec

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
author cehoyos
date Wed, 30 Sep 2009 15:13:09 +0000
parents bf04c3ecdfe5
children 5462710f17ee
files mpegaudioenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegaudioenc.c	Wed Sep 30 10:48:14 2009 +0000
+++ b/mpegaudioenc.c	Wed Sep 30 15:13:09 2009 +0000
@@ -59,7 +59,7 @@
 } 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"