| Index: core/src/fxcodec/codec/fx_codec_progress.cpp
|
| diff --git a/core/src/fxcodec/codec/fx_codec_progress.cpp b/core/src/fxcodec/codec/fx_codec_progress.cpp
|
| index 0ad4c2a6681116531d1aca6e0c119da460860173..885b751a1beb10c6f49b9133f5cc9746c738f30d 100644
|
| --- a/core/src/fxcodec/codec/fx_codec_progress.cpp
|
| +++ b/core/src/fxcodec/codec/fx_codec_progress.cpp
|
| @@ -716,7 +716,7 @@ void CCodec_ProgressiveDecoder::GifReadScanlineCallback(void* pModule,
|
| pal_index = pCodec->m_GifTransIndex;
|
| }
|
| FXSYS_memset(pCodec->m_pDecodeBuf, pal_index, pCodec->m_SrcWidth);
|
| - FX_BOOL bLastPass = ((row_num % 2) == 1) ? TRUE : FALSE;
|
| + FX_BOOL bLastPass = (row_num % 2) == 1;
|
| int32_t line = row_num + pCodec->m_GifFrameRect.top;
|
| int32_t left = pCodec->m_GifFrameRect.left;
|
| FXSYS_memcpy(pCodec->m_pDecodeBuf + left, row_buf, img_width);
|
|
|