projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework deglitch/optimize/stop_playback, sams ladspa icons, reticle color, tweak frame...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
floatautos.C
diff --git
a/cinelerra-5.1/cinelerra/floatautos.C
b/cinelerra-5.1/cinelerra/floatautos.C
index 4ee1d4070702542362fcf360577d4729f00d91c2..04741afe145fabd6fdefc63b31daab1c641f7bb4 100644
(file)
--- a/
cinelerra-5.1/cinelerra/floatautos.C
+++ b/
cinelerra-5.1/cinelerra/floatautos.C
@@
-455,10
+455,10
@@
double FloatAutos::automation_integral(int64_t start, int64_t length, int direct
if( end > len ) end = len;
while( pos < end ) {
int64_t prev_pos = 0, next_pos = len;
if( end > len ) end = len;
while( pos < end ) {
int64_t prev_pos = 0, next_pos = len;
-
FloatAuto *prev = 0, *
next = 0;
-
prev = (FloatAuto*)get_prev_auto(pos, direction, (Auto* &)
prev, 0);
+
Auto *zprev = 0, *z
next = 0;
+
FloatAuto *prev = (FloatAuto*)get_prev_auto(pos, direction, z
prev, 0);
if( prev ) prev_pos = prev->position;
if( prev ) prev_pos = prev->position;
-
next = (FloatAuto*)get_next_auto(pos, direction, (Auto* &)
next, 0);
+
FloatAuto *next = (FloatAuto*)get_next_auto(pos, direction, z
next, 0);
if( next ) next_pos = next->position;
if( !prev && !next ) prev = next = (FloatAuto*)default_auto;
else if( !prev ) prev = next;
if( next ) next_pos = next->position;
if( !prev && !next ) prev = next = (FloatAuto*)default_auto;
else if( !prev ) prev = next;