mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-21 12:48:35 -05:00
Casting a floating point type to an integer type has undefined behaviour if the value does not fit into the destination type. As the volume meter is initialized with floats values representing +inf (as makes sense for a dB meter), values should be explicitly clamped to integer boundaries.
40 KiB
40 KiB