Browse Source

Fix Bitreader issue: offset was not initialized correctly

pull/1147/head
Brian Popow 7 years ago
parent
commit
1d9c7644c3
  1. 2
      src/ImageSharp/Formats/WebP/Vp8LBitReader.cs

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

@ -19,7 +19,7 @@ namespace SixLabors.ImageSharp.Formats.WebP
public Vp8LBitReader(Stream inputStream)
{
this.stream = inputStream;
this.Offset = 0;
this.Offset = inputStream.Position;
this.Bit = 0;
}

Loading…
Cancel
Save