Browse Source

Remove offset

pull/298/head
James Jackson-South 9 years ago
parent
commit
2c629c7fd8
  1. 3
      src/ImageSharp/Formats/Jpeg/Port/JpegDecoderCore.cs

3
src/ImageSharp/Formats/Jpeg/Port/JpegDecoderCore.cs

@ -54,8 +54,6 @@ namespace ImageSharp.Formats.Jpeg.Port
/// </summary> /// </summary>
private bool isExif; private bool isExif;
private int offset;
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="JpegDecoderCore" /> class. /// Initializes a new instance of the <see cref="JpegDecoderCore" /> class.
/// </summary> /// </summary>
@ -481,7 +479,6 @@ namespace ImageSharp.Formats.Jpeg.Port
{ {
this.InputStream.Read(this.uint16Buffer, 0, 2); this.InputStream.Read(this.uint16Buffer, 0, 2);
ushort value = (ushort)((this.uint16Buffer[0] << 8) | this.uint16Buffer[1]); ushort value = (ushort)((this.uint16Buffer[0] << 8) | this.uint16Buffer[1]);
this.offset += 2;
return value; return value;
} }

Loading…
Cancel
Save