From f49dde1e837c24baba6f77158610b1d93550deac Mon Sep 17 00:00:00 2001 From: Exeldro Date: Tue, 27 Feb 2024 16:51:27 +0100 Subject: [PATCH] Fix uninitialized warning --- move-transition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/move-transition.c b/move-transition.c index 99ef460..5c2ed55 100644 --- a/move-transition.c +++ b/move-transition.c @@ -1668,7 +1668,7 @@ bool render2_item(struct move_info *move, struct move_item *item) } item->has_transform = true; } - struct obs_sceneitem_crop bounds_crop; + struct obs_sceneitem_crop bounds_crop = {0}; if ((item->item_a && item->item_b) || item->move_scene) { bounds_crop.left = (int)roundf( (float)(1.0f - ot) * (float)item->bounds_crop_a.left +