Skip to content

Commit

Permalink
Fix progressive bool assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBobSquarePants committed Jun 18, 2017
1 parent 2c629c7 commit b025ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImageSharp/Formats/Jpeg/Port/JpegDecoderCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ private void ProcessStartOfFrameMarker(int remaining, ushort frameMarker)
this.frame = new Frame
{
Extended = frameMarker == JpegConstants.Markers.SOF1,
Progressive = frameMarker == JpegConstants.Markers.SOF1,
Progressive = frameMarker == JpegConstants.Markers.SOF2,
Precision = this.temp[0],
Scanlines = (short)((this.temp[1] << 8) | this.temp[2]),
SamplesPerLine = (short)((this.temp[3] << 8) | this.temp[4]),
Expand Down

0 comments on commit b025ed6

Please sign in to comment.