diff -r f7d9134af83e -r 94dbab0a2133 mmplugins/imagingplugins/codecs/GifCodec/GIFcodec.cpp --- a/mmplugins/imagingplugins/codecs/GifCodec/GIFcodec.cpp Sat Feb 20 00:20:15 2010 +0200 +++ b/mmplugins/imagingplugins/codecs/GifCodec/GIFcodec.cpp Fri Mar 12 15:50:33 2010 +0200 @@ -1,4 +1,4 @@ -// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -256,8 +256,8 @@ if (maskProc) maskProc->FlushPixels(); pos = iFrameOffset; - - if(iGifImageControl && iGifImageControl->iTransparentColorIndex != KErrNotFound) + //in case of iFast64kMode == true, palette is of type T64KPixel + if(iGifImageControl && iGifImageControl->iTransparentColorIndex != KErrNotFound && !iFast64kMode) { // reset the transparency index if (iTranspColIdx != KTranspColIdxNotPresent) @@ -436,8 +436,6 @@ i64KPalette[idx] = iPalette[idx]._Color64K(); } while (++idx < KGifColorTableMaxEntries); - - iPalette = reinterpret_cast( i64KPalette ); } if (imageProc == NULL)