[FFmpeg-cvslog] g723_1dec: remove unneeded cliping that leaked in from merge from libav

Michael Niedermayer git at videolan.org
Mon Aug 13 15:42:56 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug 13 15:01:45 2012 +0200| [84d29df01328c4695512aeb0021a9a9c9f54abbe] | committer: Michael Niedermayer

g723_1dec: remove unneeded cliping that leaked in from merge from libav

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=84d29df01328c4695512aeb0021a9a9c9f54abbe
---

 libavcodec/g723_1.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c
index 5319aec..a8ca75f 100644
--- a/libavcodec/g723_1.c
+++ b/libavcodec/g723_1.c
@@ -257,7 +257,6 @@ static int scale_vector(int16_t *dst, const int16_t *vector, int length)
     for (i = 0; i < length; i++)
         max |= FFABS(vector[i]);
 
-    max   = FFMIN(max, 0x7FFF);
     bits  = normalize_bits(max, 15);
 
     if (bits == 15)



More information about the ffmpeg-cvslog mailing list