1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Originally committed as revision 14356 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-07-24 03:22:19 +00:00
parent bf75ac57b8
commit 5ab3d66fe5

View File

@ -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];
out[x] = st2[x] + buffer2[x];
}
*out *= 1.00390625; /* to prevent clipping */
*out *= 257./256.; /* to prevent clipping */
}
static void update(Real288_internal *glob)