]> git.tuebingen.mpg.de Git - paraslash.git/commit
compress: Adjust forumla for clipping
authorAndre <maan@p133.(none)>
Fri, 5 May 2006 12:30:57 +0000 (14:30 +0200)
committerAndre <maan@p133.(none)>
Fri, 5 May 2006 12:30:57 +0000 (14:30 +0200)
commitaab63ef382a98dd47bd9c41338ab852dc84a725d
tree2736e8531e5b064bb88e83a04cc7887bf85663f9
parent3e4e5c000805b8bebf431d6e0431940fa17886ad
compress: Adjust forumla for clipping

Use (3 * old + min) / 4 instead of (old + min) / 2 as the new gain
if clipping occures.
compress.c