Commit 4e211abb authored by François Grisez's avatar François Grisez
Browse files

Fixes build issue on MacOSX

parent 67f391d6
......@@ -790,9 +790,9 @@ MSFilterDesc ms_vt_h264_dec = {
};
void _register_videotoolbox_if_supported(MSFactory *factory) {
if (VTCompressionSessionCreate
&& VTDecompressionSessionCreate
&& CMVideoFormatDescriptionCreateFromH264ParameterSets) {
if (VTCompressionSessionCreate != NULL
&& VTDecompressionSessionCreate != NULL
&& CMVideoFormatDescriptionCreateFromH264ParameterSets != NULL) {
ms_factory_register_filter(factory, &ms_vt_h264_enc);
ms_factory_register_filter(factory, &ms_vt_h264_dec);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment