From: Dan Dennedy Date: Sun, 16 Feb 2014 20:03:38 +0000 (-0800) Subject: Fix asm compilation on some versions of gcc. X-Git-Url: https://git.sesse.net/?p=mlt;a=commitdiff_plain;h=346125e32a0fbe6482e34291dd66ef70d6658f4e Fix asm compilation on some versions of gcc. --- diff --git a/src/modules/decklink/common.cpp b/src/modules/decklink/common.cpp index cafdda9f..34665f51 100644 --- a/src/modules/decklink/common.cpp +++ b/src/modules/decklink/common.cpp @@ -124,7 +124,7 @@ void swab2( const void *from, void *to, int n ) : : [from]"r"(from), [to]"r"(to), [cnt]"r"(n / SWAB_STEP) - : "xmm0", "xmm1" + //: "xmm0", "xmm1" ); from = (unsigned char*) from + n - (n % SWAB_STEP);