OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9b61ff
)
g723_1: remove unneeded cliping
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Oct 2012 23:41:40 +0000
(
01:41
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 23 Oct 2012 01:03:59 +0000
(
03:03
+0200)
Fixes CID703731
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/g723_1.c
patch
|
blob
|
history
diff --git
a/libavcodec/g723_1.c
b/libavcodec/g723_1.c
index
017ecc4
..
ae1707d
100644
(file)
--- 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],