Browse Source
gfoidl len check removal
Co-authored-by: Günther Foidl <gue@korporal.at>
pull/1958/head
Dmitry Pentin
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/ImageSharp/Formats/Jpeg/Components/ZigZag.Intrinsic.cs
|
|
|
@ -149,7 +149,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg.Components |
|
|
|
{ |
|
|
|
DebugGuard.IsTrue(Ssse3.IsSupported, "Ssse3 support is required to run this operation!"); |
|
|
|
|
|
|
|
fixed (byte* shuffleVectorsPtr = SseShuffleMasks) |
|
|
|
fixed (byte* shuffleVectorsPtr = &MemoryMarshal.GetReference(SseShuffleMasks) |
|
|
|
{ |
|
|
|
Vector128<byte> rowA = block.V0.AsByte(); |
|
|
|
Vector128<byte> rowB = block.V1.AsByte(); |
|
|
|
|