Commit 34ccb947 authored by Michael Niedermayer's avatar Michael Niedermayer

g723_1: remove unneeded cliping

Fixes CID703731
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e9b61fff
......@@ -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],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment