diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-07-24 03:22:19 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-07-24 03:22:19 +0000 |
commit | 5ab3d66fe56f8f4cc62e3203c92435f2dd67c7aa (patch) | |
tree | d21f27a184d496efbc633f9abb886e0b9f82310e /libavcodec | |
parent | bf75ac57b8aef5cd9753e8466b9b9b9ae2b1e80a (diff) | |
download | ffmpeg-5ab3d66fe56f8f4cc62e3203c92435f2dd67c7aa.tar.gz |
Simplify co(): write constant in a more readable way
Originally committed as revision 14356 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ra288.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 5603db47e8..b81cfaaced 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -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) |