Skip to content

Commit 747238c

Browse files
committed
chore: fix arm64 build issue
1 parent 1d91e6f commit 747238c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/modules/decklink/consumer/config.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@ configuration parse_xml_config(const boost::property_tree::wptree& ptree,
140140
if (config.pixel_format != configuration::pixel_format_t::rgba) {
141141
#ifdef WIN32
142142
if (!CHECK_INSTRUCTION_SUPPORT(__IA_SUPPORT_VECTOR256, 0)) {
143-
#else
143+
#elif defined(__x86_64__) || defined(__i386__)
144144
if (!__builtin_cpu_supports("avx2")) {
145+
#else
146+
if (false) {
145147
#endif
146148
CASPAR_THROW_EXCEPTION(user_error()
147149
<< msg_info(L"Your cpu does not support the features needed for yuv output"));

0 commit comments

Comments
 (0)