mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-27 02:42:26 -04:00
The use of `SPA_POD_OPT_Rectangle()` means that if the rectangle cannot be parsed, then no error will be returned. In that case uninitialized variables will be used. This can happen if the pod object contains e.g. a list of resolutions (`SPA_CHOICE_Enum`). Fix that by using `SPA_POD_Rectangle()`, which enforces successful parsing.