projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
virtualanode.C
diff --git
a/cinelerra-5.1/cinelerra/virtualanode.C
b/cinelerra-5.1/cinelerra/virtualanode.C
index a1ad5235c65841c413e88d309034820a5e3d7395..50f35a463b5d382fcf5cedcf746e139c91826503 100644
(file)
--- a/
cinelerra-5.1/cinelerra/virtualanode.C
+++ b/
cinelerra-5.1/cinelerra/virtualanode.C
@@
-368,7
+368,7
@@
int VirtualANode::render_fade(double *buffer, int64_t len,
int64_t input_position, int64_t sample_rate,
Autos *autos, int direction, int use_nudge)
{
int64_t input_position, int64_t sample_rate,
Autos *autos, int direction, int use_nudge)
{
- double fade_value;
+ double fade_value
= 0.0
;
FloatAuto *previous = 0;
FloatAuto *next = 0;
EDL *edl = vconsole->renderengine->get_edl();
FloatAuto *previous = 0;
FloatAuto *next = 0;
EDL *edl = vconsole->renderengine->get_edl();
@@
-475,11
+475,11
@@
int VirtualANode::render_pan(double *input, // start of input fragment
}
}
else if( EQUIV(intercept, 1) ) {
}
}
else if( EQUIV(intercept, 1) ) {
- for(int j = 0; j < slope_len; j++, i++)
+ for(int
64_t
j = 0; j < slope_len; j++, i++)
output[i] += input[i];
}
else if( !EQUIV(intercept, 0) ) {
output[i] += input[i];
}
else if( !EQUIV(intercept, 0) ) {
- for(int j = 0; j < slope_len; j++, i++)
+ for(int
64_t
j = 0; j < slope_len; j++, i++)
output[i] += input[i] * intercept;
}
else
output[i] += input[i] * intercept;
}
else