Sorry everyone, I've been out of commission for a long while and
completely missed that discussion earlier on.
Thanks a lot Andraz for reminding me :-)
And yeah, I don't know what I was thinking... when I wrote that
The lines should read:
as = (s - sat - min_s) / (min_s * 2);
Oops, no! This will all your footage, because...
On Monday 10 April 2006 15:46, Jerome Cornet wrote:
- as = (s - sat - min_s / min_s) / 2;
+ as = as = (s - sat - min_s) / (min_s * 2);
... this is undefined behavior: as is modified twice! ;)) Did you mean this?
+