Commit 0cffd6ff authored by Janne Grunau's avatar Janne Grunau

x86: use the inline int8x8_fmul_int32 only if inline SSE2 is availbale

Fixes compilation with MSVC. Also does not rely on on earlier config.h
include but include it directly.
parent 5fdbfcb5
......@@ -18,7 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if ARCH_X86_64
#include "config.h"
#if ARCH_X86_64 && HAVE_SSE2_INLINE
# include "libavutil/x86/asm.h"
# include "libavutil/mem.h"
......@@ -49,4 +51,4 @@ static inline void int8x8_fmul_int32(av_unused DCADSPContext *dsp,
);
}
#endif /* ARCH_X86_64 */
#endif /* ARCH_X86_64 && HAVE_SSE2_INLINE */
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