| Index: core/src/fxcodec/codec/fx_codec_fax.cpp
|
| diff --git a/core/src/fxcodec/codec/fx_codec_fax.cpp b/core/src/fxcodec/codec/fx_codec_fax.cpp
|
| index 667b713df82f3e7ee88943da02e001c4a162c210..33e89e4f92b52f9ff5219d42f5456b354ac924db 100644
|
| --- a/core/src/fxcodec/codec/fx_codec_fax.cpp
|
| +++ b/core/src/fxcodec/codec/fx_codec_fax.cpp
|
| @@ -949,10 +949,7 @@ CCodec_FaxEncoder::CCodec_FaxEncoder(FX_LPCBYTE src_buf, int width, int height,
|
| return;
|
| }
|
| FXSYS_memset8(m_pRefLine, 0xff, m_Pitch);
|
| - m_pLineBuf = FX_Alloc(FX_BYTE, m_Pitch * 8);
|
| - if (m_pLineBuf == NULL) {
|
| - return;
|
| - }
|
| + m_pLineBuf = FX_Alloc2D(FX_BYTE, m_Pitch, 8);
|
| m_DestBuf.EstimateSize(0, 10240);
|
| }
|
| CCodec_FaxEncoder::~CCodec_FaxEncoder()
|
|
|