KYRA: Fix Valgrind Uninitialized Memory Read at end of VQA Playback.

svn-id: r55619
This commit is contained in:
David Turner 2011-01-29 18:20:38 +00:00
parent f050e2d66f
commit 450dac35c7

View File

@ -106,6 +106,9 @@ uint32 VQAMovie::readTag() {
uint32 tag = _file->readUint32BE();
if (_file->eos())
return 0;
if (!(tag & 0xFF000000)) {
tag = (tag << 8) | _file->readByte();
}