[CinCV TNG] [PATCH] Bugfix: modify default_auto in VTrack::translate
einarrunkaru at gmail.com
Sat May 30 16:55:52 CEST 2015
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.
More information about the Cinelerra