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. |
||
|---|---|---|
| .. | ||
| data/locale | ||
| legacy | ||
| CMakeLists.txt | ||
| OBSAVCapture.h | ||
| OBSAVCapture.m | ||
| OBSAVCapturePresetInfo.h | ||
| OBSAVCapturePresetInfo.m | ||
| plugin-main.h | ||
| plugin-main.m | ||
| plugin-properties.h | ||
| plugin-properties.m | ||