X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvirtualanode.C;h=50f35a463b5d382fcf5cedcf746e139c91826503;hb=bd7011a86f60b4ef1abf11e2667373eba3a98c99;hp=a1ad5235c65841c413e88d309034820a5e3d7395;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/virtualanode.C b/cinelerra-5.1/cinelerra/virtualanode.C index a1ad5235..50f35a46 100644 --- 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) { - double fade_value; + double fade_value = 0.0; 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) ) { - for(int j = 0; j < slope_len; j++, i++) + for(int64_t j = 0; j < slope_len; j++, i++) output[i] += input[i]; } else if( !EQUIV(intercept, 0) ) { - for(int j = 0; j < slope_len; j++, i++) + for(int64_t j = 0; j < slope_len; j++, i++) output[i] += input[i] * intercept; } else