[CinCV TNG] [PATCH] Bugfix: modify default_auto in VTrack::translate
j6t at kdbg.org
Sat May 30 18:52:48 CEST 2015
Am 30.05.2015 um 16:55 schrieb Einar Rünkaru:
> On 05/30/2015 12:30 AM, Johannes Sixt wrote:
>> Am 29.05.2015 um 21:39 schrieb Einar Rünkaru:
>>> Bug was introduced by commit "Step-4a : encapsulate FloatAuto value and
>>> ctrl points."
>> I had a look at float autos recently, and it all looked OK. So, if there
>> is a bug, then it is not obvious. Please explain!
> Pointer to autos is casted to unrelated floatauto. autos does not have
> get_value() or set_value(), neither has it value, what has to be
> modified. What happens is really undefined. Compiler expects that
> programmer really knows what happens when he/she uses casting.
> VTrack::translate is used only when cropping and has no effect on other
> floatauto related functions.
I see. Thanks.
More information about the Cinelerra