[Scummvm-git-logs] scummvm master -> 411cc2cb4e8cfc1630585125e38dcd63db9d7e79

dreammaster dreammaster at scummvm.org
Wed Jul 26 01:50:31 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
411cc2cb4e IMAGE: Extra initialization of Indeo decoder IVIHuffTab


Commit: 411cc2cb4e8cfc1630585125e38dcd63db9d7e79
    https://github.com/scummvm/scummvm/commit/411cc2cb4e8cfc1630585125e38dcd63db9d7e79
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-07-25T19:50:23-04:00

Commit Message:
IMAGE: Extra initialization of Indeo decoder IVIHuffTab

Changed paths:
    image/codecs/indeo/indeo.cpp


diff --git a/image/codecs/indeo/indeo.cpp b/image/codecs/indeo/indeo.cpp
index 65c0647..769790b 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) {





More information about the Scummvm-git-logs mailing list