[FFmpeg-cvslog] g723_1: remove unneeded cliping
Michael Niedermayer
git at videolan.org
Tue Oct 23 03:12:46 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 23 01:41:40 2012 +0200| [34ccb94796b7f9cc3ee82f94f3890748a5c51dd5] | committer: Michael Niedermayer
g723_1: remove unneeded cliping
Fixes CID703731
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=34ccb94796b7f9cc3ee82f94f3890748a5c51dd5
---
libavcodec/g723_1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c
index 017ecc4..ae1707d 100644
--- a/libavcodec/g723_1.c
+++ b/libavcodec/g723_1.c
@@ -713,7 +713,7 @@ static void comp_ppf_coeff(G723_1_Context *p, int offset, int pitch_lag,
scale = normalize_bits(temp1, 31);
for (i = 0; i < 5; i++)
- energy[i] = av_clipl_int32(energy[i] << scale) >> 16;
+ energy[i] = (energy[i] << scale) >> 16;
if (fwd_lag && !back_lag) { /* Case 1 */
comp_ppf_gains(fwd_lag, ppf, cur_rate, energy[0], energy[1],
More information about the ffmpeg-cvslog
mailing list