diff --git a/src/ImageSharp.Formats.Jpeg/Components/Decoder/JpegScanDecoder.cs b/src/ImageSharp.Formats.Jpeg/Components/Decoder/JpegScanDecoder.cs index 329c58951..39ee6687b 100644 --- a/src/ImageSharp.Formats.Jpeg/Components/Decoder/JpegScanDecoder.cs +++ b/src/ImageSharp.Formats.Jpeg/Components/Decoder/JpegScanDecoder.cs @@ -118,8 +118,7 @@ namespace ImageSharp.Formats.Jpg /// Reads the blocks from the -s stream, and processes them into the corresponding instances. /// /// The instance - /// MCUs processed - public int ProcessBlocks(JpegDecoderCore decoder) + public void ProcessBlocks(JpegDecoderCore decoder) { int blockCount = 0; int mcu = 0; @@ -230,8 +229,6 @@ namespace ImageSharp.Formats.Jpg // for mx } - - return mcu; } private void ResetDc()