From 09336bb7487c763564cd31184cbdeda80ecd778e 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: cd2e893bbfbbfd910c793a55a2ee307d2a4e8436 Former-commit-id: 235e0faef20de30e79cea9fc70dcff11ff3c2c07 Former-commit-id: ed75e3def34c2436bcae108ee2cdb547606f5359 --- 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 6c03272ba..cffe4919d 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;