Commit d6335e67 authored by vitor's avatar vitor

Simplify co(): write constant in a more readable way

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14356 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 862966be
...@@ -158,7 +158,7 @@ static void co(int n, int i, int j, const float *in, float *out, float *st1, ...@@ -158,7 +158,7 @@ static void co(int n, int i, int j, const float *in, float *out, float *st1,
st2[x] = st2[x] * 0.5625 + buffer1[x]; st2[x] = st2[x] * 0.5625 + buffer1[x];
out[x] = st2[x] + buffer2[x]; out[x] = st2[x] + buffer2[x];
} }
*out *= 1.00390625; /* to prevent clipping */ *out *= 257./256.; /* to prevent clipping */
} }
static void update(Real288_internal *glob) static void update(Real288_internal *glob)
......
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