| Index: core/fxcodec/codec/include/ccodec_progressivedecoder.h
|
| diff --git a/core/fxcodec/codec/include/ccodec_progressivedecoder.h b/core/fxcodec/codec/include/ccodec_progressivedecoder.h
|
| index 83b73e1ba7cc9c34b791dee69aa0a893ad08e146..5421d734946f4f48a3fcf827e59b128e8e602f5a 100644
|
| --- a/core/fxcodec/codec/include/ccodec_progressivedecoder.h
|
| +++ b/core/fxcodec/codec/include/ccodec_progressivedecoder.h
|
| @@ -73,7 +73,7 @@ class CCodec_ProgressiveDecoder {
|
|
|
| class CFXCODEC_WeightTable {
|
| public:
|
| - CFXCODEC_WeightTable() { m_pWeightTables = NULL; }
|
| + CFXCODEC_WeightTable() { m_pWeightTables = nullptr; }
|
| ~CFXCODEC_WeightTable() { FX_Free(m_pWeightTables); }
|
|
|
| void Calc(int dest_len,
|
| @@ -93,7 +93,7 @@ class CCodec_ProgressiveDecoder {
|
|
|
| class CFXCODEC_HorzTable {
|
| public:
|
| - CFXCODEC_HorzTable() { m_pWeightTables = NULL; }
|
| + CFXCODEC_HorzTable() { m_pWeightTables = nullptr; }
|
| ~CFXCODEC_HorzTable() { FX_Free(m_pWeightTables); }
|
|
|
| void Calc(int dest_len, int src_len, FX_BOOL bInterpol);
|
| @@ -107,7 +107,7 @@ class CCodec_ProgressiveDecoder {
|
|
|
| class CFXCODEC_VertTable {
|
| public:
|
| - CFXCODEC_VertTable() { m_pWeightTables = NULL; }
|
| + CFXCODEC_VertTable() { m_pWeightTables = nullptr; }
|
| ~CFXCODEC_VertTable() { FX_Free(m_pWeightTables); }
|
| void Calc(int dest_len, int src_len);
|
| PixelWeight* GetPixelWeight(int pixel) {
|
|
|