Browse Source

remove obsolete comments

pull/1552/head
Peter Amrehn 7 years ago
parent
commit
5c27728a42
  1. 2
      src/ImageSharp/Formats/WebP/WebPDecoderBase.cs

2
src/ImageSharp/Formats/WebP/WebPDecoderBase.cs

@ -27,7 +27,6 @@ namespace SixLabors.ImageSharp.Formats.WebP
return huffmanImageSpan[(xSize * (y >> bits)) + (x >> bits)]; return huffmanImageSpan[(xSize * (y >> bits)) + (x >> bits)];
} }
// TODO: copied from WebPLosslessDecoder
protected int GetCopyDistance(int distanceSymbol, Vp8LBitReader bitReader) protected int GetCopyDistance(int distanceSymbol, Vp8LBitReader bitReader)
{ {
if (distanceSymbol < 4) if (distanceSymbol < 4)
@ -41,7 +40,6 @@ namespace SixLabors.ImageSharp.Formats.WebP
return (int)(offset + bitReader.ReadValue(extraBits) + 1); return (int)(offset + bitReader.ReadValue(extraBits) + 1);
} }
// TODO: copied from WebPLosslessDecoder
protected int GetCopyLength(int lengthSymbol, Vp8LBitReader bitReader) protected int GetCopyLength(int lengthSymbol, Vp8LBitReader bitReader)
{ {
// Length and distance prefixes are encoded the same way. // Length and distance prefixes are encoded the same way.

Loading…
Cancel
Save