diff options
author | Paul Gilbert | 2017-07-25 19:50:23 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-07-25 19:50:23 -0400 |
commit | 411cc2cb4e8cfc1630585125e38dcd63db9d7e79 (patch) | |
tree | c8be2f95297060ce5d00fbb74c6b7b82c30cf3fc | |
parent | df2e4e8e2c02981b339235f4a429db5bb68ea4f4 (diff) | |
download | scummvm-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.cpp | 2 |
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) { |