this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixes around constant CFStringRef's

+10 -2
-2
src/CFF/CFUtilities.c
··· 29 29 GSRuntimeConstantInit(_kCFSystemVersionProductUserVisibleVersionKey, type); 30 30 GSRuntimeConstantInit(_kCFSystemVersionProductVersionStringKey, type); 31 31 GSRuntimeConstantInit(_kCFSystemVersionBuildStringKey, type); 32 - 33 - CFHash(_kCFSystemVersionBuildStringKey); 34 32 } 35 33 36 34 Boolean _CFExecutableLinkedOnOrAfter(CFSystemVersion version)
+10
src/VideoDecodeAcceleration/dummy.c
··· 11 11 12 12 #define kVDADecoderHardwareNotSupportedErr -12470 13 13 14 + __attribute__((constructor)) 15 + static void initConstants() 16 + { 17 + CFTypeID type = CFStringGetTypeID(); 18 + GSRuntimeConstantInit(kVDADecoderConfiguration_Height, type); 19 + GSRuntimeConstantInit(kVDADecoderConfiguration_Width, type); 20 + GSRuntimeConstantInit(kVDADecoderConfiguration_SourceFormat, type); 21 + GSRuntimeConstantInit(kVDADecoderConfiguration_avcCData, type); 22 + } 23 + 14 24 OSStatus VDADecoderCreate() 15 25 { 16 26 return kVDADecoderHardwareNotSupportedErr;