From 0056255c802e35290404f5bdba6c0e250963375e Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Mon, 15 Jun 2020 13:12:12 +0100 Subject: [PATCH] Update Adler32 to correctly filter intrinsics. Fix #1228 --- src/ImageSharp/Formats/Png/Zlib/Adler32.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageSharp/Formats/Png/Zlib/Adler32.cs b/src/ImageSharp/Formats/Png/Zlib/Adler32.cs index 163d4cbcf..534aba8f5 100644 --- a/src/ImageSharp/Formats/Png/Zlib/Adler32.cs +++ b/src/ImageSharp/Formats/Png/Zlib/Adler32.cs @@ -63,7 +63,7 @@ namespace SixLabors.ImageSharp.Formats.Png.Zlib } #if SUPPORTS_RUNTIME_INTRINSICS - if (Sse3.IsSupported && buffer.Length >= MinBufferSize) + if (Ssse3.IsSupported && buffer.Length >= MinBufferSize) { return CalculateSse(adler, buffer); }