From c803f581f4b7e89cb59f93868e3d59854ad8547d Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Wed, 20 Jan 2016 16:55:18 +1100 Subject: [PATCH] Cleanup Former-commit-id: 4a89054a2371a1fa3f08db383b2395592e4b5330 Former-commit-id: de45e42417135c49b8e984c0bac792648cb27dd6 Former-commit-id: 8251dff9c6fa310a15ad51b20912a703d7081ea4 --- src/ImageProcessor/Formats/Gif/GifDecoderCore.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ImageProcessor/Formats/Gif/GifDecoderCore.cs b/src/ImageProcessor/Formats/Gif/GifDecoderCore.cs index 6c03272ba0..cffe4919d3 100644 --- a/src/ImageProcessor/Formats/Gif/GifDecoderCore.cs +++ b/src/ImageProcessor/Formats/Gif/GifDecoderCore.cs @@ -7,7 +7,6 @@ namespace ImageProcessor.Formats { using System; using System.IO; - using System.Threading.Tasks; /// /// Performs the gif decoding operation. @@ -412,7 +411,7 @@ namespace ImageProcessor.Formats offset = ((y * imageWidth) + x) * 4; // Stored in r-> g-> b-> a order. - this.currentFrame[offset + 0] = 0; + this.currentFrame[offset] = 0; this.currentFrame[offset + 1] = 0; this.currentFrame[offset + 2] = 0; this.currentFrame[offset + 3] = 0;