Browse Source

Fix #281

af/merge-core
James Jackson-South 9 years ago
parent
commit
b8a047d4b5
  1. 4
      src/ImageSharp/Formats/Gif/GifDecoderCore.cs

4
src/ImageSharp/Formats/Gif/GifDecoderCore.cs

@ -157,6 +157,10 @@ namespace ImageSharp.Formats
} }
nextFlag = stream.ReadByte(); nextFlag = stream.ReadByte();
if (nextFlag == -1)
{
break;
}
} }
} }
finally finally

Loading…
Cancel
Save