Skip to content

Commit

Permalink
Fix uninitialized warning
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed Feb 27, 2024
1 parent c43ca7c commit f49dde1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion move-transition.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 +
Expand Down

0 comments on commit f49dde1

Please sign in to comment.