Browse Source

Update JpegDecoderCore.cs

pull/1933/head
James Jackson-South 5 years ago
parent
commit
228b3c8bc9
  1. 2
      src/ImageSharp/Formats/Jpeg/JpegDecoderCore.cs

2
src/ImageSharp/Formats/Jpeg/JpegDecoderCore.cs

@ -625,7 +625,7 @@ namespace SixLabors.ImageSharp.Formats.Jpeg
private void ProcessApplicationHeaderMarker(BufferedReadStream stream, int remaining)
{
// We can only decode JFif identifiers.
// Some bad images contain multiple App0 markers (Issue 1932) so we check to see
// Some images contain multiple JFIF markers (Issue 1932) so we check to see
// if it's already been read.
if (remaining < JFifMarker.Length || (!this.jFif.Equals(default)))
{

Loading…
Cancel
Save