diff options
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_ArithIntDecoder.h')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_ArithIntDecoder.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fxcodec/jbig2/JBig2_ArithIntDecoder.h b/core/fxcodec/jbig2/JBig2_ArithIntDecoder.h index fd9fa89f19..2de42a09ee 100644 --- a/core/fxcodec/jbig2/JBig2_ArithIntDecoder.h +++ b/core/fxcodec/jbig2/JBig2_ArithIntDecoder.h @@ -17,8 +17,7 @@ class CJBig2_ArithIntDecoder { CJBig2_ArithIntDecoder(); ~CJBig2_ArithIntDecoder(); - // Returns true on success, and false when an OOB condition occurs. Many - // callers can tolerate OOB and do not check the return value. + // Returns true on success, and false when an OOB condition occurs. bool decode(CJBig2_ArithDecoder* pArithDecoder, int* nResult); private: @@ -30,7 +29,7 @@ class CJBig2_ArithIaidDecoder { explicit CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA); ~CJBig2_ArithIaidDecoder(); - void decode(CJBig2_ArithDecoder* pArithDecoder, uint32_t* nResult); + bool decode(CJBig2_ArithDecoder* pArithDecoder, uint32_t* nResult); private: std::vector<JBig2ArithCtx> m_IAID; |