Browse Source

fix regression in GifDecoderCore

pull/475/head
Anton Firszov 8 years ago
parent
commit
e666609085
  1. 2
      src/ImageSharp/Formats/Gif/GifDecoderCore.cs

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

@ -151,8 +151,6 @@ namespace SixLabors.ImageSharp.Formats.Gif
break; break;
} }
this.globalColorTable = this.MemoryManager.AllocateManagedByteBuffer(this.globalColorTableLength, true);
nextFlag = stream.ReadByte(); nextFlag = stream.ReadByte();
if (nextFlag == -1) if (nextFlag == -1)
{ {

Loading…
Cancel
Save