]> git.sesse.net Git - mlt/blobdiff - src/modules/decklink/common.cpp
Fix compile error on Windows.
[mlt] / src / modules / decklink / common.cpp
index cafdda9f18964f257bd5d218e0cf0207f558fb81..144bc9f50b0e7035fc0f5ca6bc95c6e0000db6e8 100644 (file)
@@ -124,12 +124,12 @@ 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);
        to = (unsigned char*) to + n - (n % SWAB_STEP);
        n = (n % SWAB_STEP);
 #endif
-       swab(from, to, n);
+       swab((char*) from, (char*) to, n);
 };