From: Good Guy Date: Thu, 17 Nov 2022 21:50:36 +0000 (-0700) Subject: Credit Andrew initialize missed variables X-Git-Tag: 2022-11~3 X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=f0aa9a46eed43b06ee97198a4b38eaaa43e5cd0a;p=goodguy%2Fcinelerra.git Credit Andrew initialize missed variables --- diff --git a/cinelerra-5.1/cinelerra/virtualanode.C b/cinelerra-5.1/cinelerra/virtualanode.C index 55a79d35..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(); diff --git a/cinelerra-5.1/cinelerra/vmodule.C b/cinelerra-5.1/cinelerra/vmodule.C index 64521524..e0b1efdb 100644 --- a/cinelerra-5.1/cinelerra/vmodule.C +++ b/cinelerra-5.1/cinelerra/vmodule.C @@ -104,10 +104,10 @@ CICache* VModule::get_cache() int VModule::import_frame(VFrame *output, VEdit *current_edit, int64_t input_position, double frame_rate, int direction, int use_opengl) { - int64_t direction_position; + int64_t direction_position=0; // Translation of edit - float in_x, in_y, in_w, in_h; - float out_x, out_y, out_w, out_h; + float in_x=0.0, in_y=0.0, in_w=0.0, in_h=0.0; + float out_x=0.0, out_y=0.0, out_w=0.0, out_h=0.0; int result = 0; const int debug = 0; double edl_rate = get_edl()->session->frame_rate;