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..1ce4c2936ab9e0b31af22efb6c50b3b15f0a11ad 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); |
Tom Sepez
2015/10/19 20:16:10
nit: overparenthesized.
Lei Zhang
2015/10/20 00:41:43
Done.
|
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); |