aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-25 19:50:23 -0400
committerPaul Gilbert2017-07-25 19:50:23 -0400
commit411cc2cb4e8cfc1630585125e38dcd63db9d7e79 (patch)
treec8be2f95297060ce5d00fbb74c6b7b82c30cf3fc
parentdf2e4e8e2c02981b339235f4a429db5bb68ea4f4 (diff)
downloadscummvm-rg350-411cc2cb4e8cfc1630585125e38dcd63db9d7e79.tar.gz
scummvm-rg350-411cc2cb4e8cfc1630585125e38dcd63db9d7e79.tar.bz2
scummvm-rg350-411cc2cb4e8cfc1630585125e38dcd63db9d7e79.zip
IMAGE: Extra initialization of Indeo decoder IVIHuffTab
-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) {