aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--image/codecs/indeo/indeo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/image/codecs/indeo/indeo.cpp b/image/codecs/indeo/indeo.cpp
index 65c0647083..769790b76f 100644
--- a/image/codecs/indeo/indeo.cpp
+++ b/image/codecs/indeo/indeo.cpp
@@ -127,6 +127,8 @@ void IVIHuffDesc::huffDescCopy(const IVIHuffDesc *src) {
/*------------------------------------------------------------------------*/
IVIHuffTab::IVIHuffTab() : _tab(nullptr) {
+ _custDesc._numRows = 0;
+ Common::fill(&_custDesc._xBits[0], &_custDesc._xBits[16], 0);
}
int IVIHuffTab::decodeHuffDesc(IVI45DecContext *ctx, int descCoded, int whichTab) {