mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
VIDEO: Remove Bink header check from Smacker
This commit is contained in:
parent
4ace7f626b
commit
fffe7a9cc0
@ -374,14 +374,6 @@ bool SmackerDecoder::loadStream(Common::SeekableReadStream *stream) {
|
|||||||
|
|
||||||
// Seek to the first frame
|
// Seek to the first frame
|
||||||
_header.signature = _fileStream->readUint32BE();
|
_header.signature = _fileStream->readUint32BE();
|
||||||
|
|
||||||
// No BINK support available
|
|
||||||
if (_header.signature == MKTAG('B','I','K','i')) {
|
|
||||||
delete _fileStream;
|
|
||||||
_fileStream = 0;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
assert(_header.signature == MKTAG('S','M','K','2') || _header.signature == MKTAG('S','M','K','4'));
|
assert(_header.signature == MKTAG('S','M','K','2') || _header.signature == MKTAG('S','M','K','4'));
|
||||||
|
|
||||||
uint32 width = _fileStream->readUint32LE();
|
uint32 width = _fileStream->readUint32LE();
|
||||||
|
Loading…
Reference in New Issue
Block a user