diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/avi_decoder.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp index 7d182935c1..a42c8e28c6 100644 --- a/video/avi_decoder.cpp +++ b/video/avi_decoder.cpp @@ -266,9 +266,12 @@ void AVIDecoder::handleStreamHeader(uint32 size) { sHeader.size = size; sHeader.streamType = _fileStream->readUint32BE(); - if (sHeader.streamType == ID_MIDS || sHeader.streamType == ID_TXTS) + if (sHeader.streamType == ID_MIDS) error("Unhandled MIDI/Text stream"); + if (sHeader.streamType == ID_TXTS) + warning("Unsupported Text stream detected"); + sHeader.streamHandler = _fileStream->readUint32BE(); sHeader.flags = _fileStream->readUint32LE(); sHeader.priority = _fileStream->readUint16LE(); |