Commit 5ab3d66f authored by Vitor Sessak's avatar Vitor Sessak

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

Originally committed as revision 14356 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bf75ac57
...@@ -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