Commit 517541d0 authored by vitor's avatar vitor

Simplify: use FFMAX

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14215 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1e7db767
...@@ -74,8 +74,7 @@ static void decode(Real288_internal *glob, float gain, int cb_coef) ...@@ -74,8 +74,7 @@ static void decode(Real288_internal *glob, float gain, int cb_coef)
sum = scalar_product_float(buffer, buffer, 5) / 5; sum = scalar_product_float(buffer, buffer, 5) / 5;
if (sum < 1) sum = FFMAX(sum, 1);
sum = 1;
/* shift and store */ /* shift and store */
memmove(glob->lhist, glob->lhist - 1, 10 * sizeof(*glob->lhist)); memmove(glob->lhist, glob->lhist - 1, 10 * sizeof(*glob->lhist));
......
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