Index: Samples/multimedia/directshow/baseclasses/wxutil.cpp |
diff --git a/Samples/multimedia/directshow/baseclasses/wxutil.cpp b/Samples/multimedia/directshow/baseclasses/wxutil.cpp |
index 5bc97a9ae44ce4be4d34b84c8bac93f0e66d5203..a79153b170e85fdf1df189d3fd5add2165822de7 100644 |
--- a/Samples/multimedia/directshow/baseclasses/wxutil.cpp |
+++ b/Samples/multimedia/directshow/baseclasses/wxutil.cpp |
@@ -381,7 +381,7 @@ void * __stdcall memmoveInternal(void * dst, const void * src, size_t count) |
{ |
void * ret = dst; |
-#ifdef _X86_ |
+#if defined(_X86_) && !defined(__clang__) |
if (dst <= src || (char *)dst >= ((char *)src + count)) { |
/* |