We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cda7b0 commit 90fa817Copy full SHA for 90fa817
1 file changed
src/ImageSharp/Formats/Png/PngDecoderCore.cs
@@ -765,7 +765,7 @@ private void DecodePixelData<TPixel>(
765
cancellationToken.ThrowIfCancellationRequested();
766
int bytesPerFrameScanline = this.CalculateScanlineLength((int)frameControl.Width) + 1;
767
Span<byte> scanSpan = this.scanline.GetSpan()[..bytesPerFrameScanline];
768
- Span<byte> prevSpan = this.scanline.GetSpan()[..bytesPerFrameScanline];
+ Span<byte> prevSpan = this.previousScanline.GetSpan()[..bytesPerFrameScanline];
769
770
while (currentRowBytesRead < bytesPerFrameScanline)
771
{
0 commit comments