Mercurial > libavcodec.hg
changeset 7364:907d3376da93 libavcodec
Simplify co(): write constant in a more readable way
author | vitor |
---|---|
date | Thu, 24 Jul 2008 03:22:19 +0000 |
parents | d346c4da00bd |
children | 031d4866b192 |
files | ra288.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ra288.c Thu Jul 24 03:19:52 2008 +0000 +++ b/ra288.c Thu Jul 24 03:22:19 2008 +0000 @@ -158,7 +158,7 @@ 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)