mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-19 05:51:16 -04:00
BGRA or other formats that do not use color primaries will not yield a valid color primary value. Initializing the CFComparisonResult to a default value and replacing it only if a non-NULL color primary value was retrieved avoids a possible crash.