mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
IMAGE: Allow Indeo4 transparency decoding in scalable videos
y459.avi in Starship Titanic uses these two modes together, and this appears to work fine.
This commit is contained in:
parent
4a39f85c1b
commit
2b46eda5b6
@ -761,11 +761,12 @@ int Indeo4Decoder::decodeTransparency() {
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: The transparency plane can be split, though it is not clear if
|
||||
// this is in scalability mode, local decoding mode, or both. This adds
|
||||
// complexity to the implementation, so avoid supporting unless it turns out
|
||||
// to actually be necessary for correct decoding of game videos.
|
||||
assert(!_ctx._isScalable);
|
||||
// FIXME: The transparency plane can be split, apparently for local decoding
|
||||
// mode (y459.avi in Titanic has the scalable flag and its transparency
|
||||
// plane seems to be decoded successfully, so the split transparency plane
|
||||
// does not seem to be related to scaling mode). This adds complexity to the
|
||||
// implementation, so avoid supporting unless it turns out to actually be
|
||||
// necessary for correct decoding of game videos.
|
||||
assert(!_ctx._usesTiling);
|
||||
|
||||
assert(_surface.format.bytesPerPixel == 4);
|
||||
|
Loading…
x
Reference in New Issue
Block a user