Index: core/fxcodec/codec/fx_codec.cpp |
diff --git a/core/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp |
index 1995784dcdaca01c209f4baeead057c76061f05c..7f0c8ad2251ff08efa1957127f95cc4e5af89b44 100644 |
--- a/core/fxcodec/codec/fx_codec.cpp |
+++ b/core/fxcodec/codec/fx_codec.cpp |
@@ -34,7 +34,24 @@ CCodec_ModuleMgr::CCodec_ModuleMgr() |
CCodec_ModuleMgr::~CCodec_ModuleMgr() {} |
CCodec_ScanlineDecoder::CCodec_ScanlineDecoder() |
- : m_NextLine(-1), m_pLastScanline(nullptr) {} |
+ : CCodec_ScanlineDecoder(0, 0, 0, 0, 0, 0, 0) {} |
+ |
+CCodec_ScanlineDecoder::CCodec_ScanlineDecoder(int nOrigWidth, |
+ int nOrigHeight, |
+ int nOutputWidth, |
+ int nOutputHeight, |
+ int nComps, |
+ int nBpc, |
+ uint32_t nPitch) |
+ : m_OrigWidth(nOrigWidth), |
+ m_OrigHeight(nOrigHeight), |
+ m_OutputWidth(nOutputWidth), |
+ m_OutputHeight(nOutputHeight), |
+ m_nComps(nComps), |
+ m_bpc(nBpc), |
+ m_Pitch(nPitch), |
+ m_NextLine(-1), |
+ m_pLastScanline(nullptr) {} |
CCodec_ScanlineDecoder::~CCodec_ScanlineDecoder() {} |