From 8e03b72e63dd4b0caa0cc7528bfab0f997ad630c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 15 Dec 2008 00:11:23 +0000 Subject: Ignore BINK files. svn-id: r35370 --- graphics/smk_player.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/graphics/smk_player.cpp b/graphics/smk_player.cpp index dac51459d7..78de65f994 100644 --- a/graphics/smk_player.cpp +++ b/graphics/smk_player.cpp @@ -334,6 +334,13 @@ bool SMKPlayer::loadFile(const char *fileName) { _currentSMKFrame = 0; _header.signature = _fileStream->readUint32BE(); + // No BINK support available + if (_header.signature == MKID_BE('BIKi')) { + delete _fileStream; + _fileStream = 0; + return false; + } + assert(_header.signature == MKID_BE('SMK2') || _header.signature == MKID_BE('SMK4')); _header.width = _fileStream->readUint32LE(); -- cgit v1.2.3