Index: core/fxcodec/jbig2/JBig2_SddProc.cpp |
diff --git a/core/fxcodec/jbig2/JBig2_SddProc.cpp b/core/fxcodec/jbig2/JBig2_SddProc.cpp |
index 9ab6cb8a2e1a2e480cde103da1f69c065d3480df..c6adfce784d430a3f9ec2243db4b4995728ef4a9 100644 |
--- a/core/fxcodec/jbig2/JBig2_SddProc.cpp |
+++ b/core/fxcodec/jbig2/JBig2_SddProc.cpp |
@@ -523,7 +523,7 @@ CJBig2_SymbolDict* CJBig2_SDDProc::decode_Huffman( |
if (pStream->getByteLeft() >= stride * HCHEIGHT) { |
BHC = new CJBig2_Image(TOTWIDTH, HCHEIGHT); |
for (I = 0; I < HCHEIGHT; I++) { |
- JBIG2_memcpy(BHC->m_pData + I * BHC->m_nStride, |
+ JBIG2_memcpy(BHC->m_pData + I * BHC->stride(), |
pStream->getPointer(), stride); |
pStream->offset(stride); |
} |