[Scummvm-cvs-logs] SF.net SVN: scummvm: [24290] scummvm/trunk/engines/scumm/smush/chunk.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Fri Oct 13 10:52:09 CEST 2006
Revision: 24290
http://svn.sourceforge.net/scummvm/?rev=24290&view=rev
Author: sev
Date: 2006-10-13 01:51:26 -0700 (Fri, 13 Oct 2006)
Log Message:
-----------
Reenable incorrectly compressed files warning
Modified Paths:
--------------
scummvm/trunk/engines/scumm/smush/chunk.cpp
Modified: scummvm/trunk/engines/scumm/smush/chunk.cpp
===================================================================
--- scummvm/trunk/engines/scumm/smush/chunk.cpp 2006-10-13 07:23:34 UTC (rev 24289)
+++ scummvm/trunk/engines/scumm/smush/chunk.cpp 2006-10-13 08:51:26 UTC (rev 24290)
@@ -84,10 +84,14 @@
}
if (_curPos > _size) {
-// FIXME: This is an evil hack, can't we do better?!
-// if (g_scumm->_insaneRunning) {
-// warning("Looks like you compressed file %s in wrong way. It has FLU index which was not updated", _name.c_str());
-// }
+ // It may happen that user misused our SAN compression tool
+ // and ignored FLU index for videos which are used by INSANE.
+ // This will lead to incorrect seek requests
+ //
+ // Check if INSANE is running and give more feedback in this case
+ if (g_scumm->_insaneRunning) {
+ warning("Looks like you compressed file %s in wrong way. It has FLU index which was not updated", _name.c_str());
+ }
error("invalid seek request : %d > %d (delta == %d)", _curPos, _size, delta);
}
return true;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list