diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/video/coktelvideo/coktelvideo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/video/coktelvideo/coktelvideo.cpp b/graphics/video/coktelvideo/coktelvideo.cpp index 8603e125a6..995247acaa 100644 --- a/graphics/video/coktelvideo/coktelvideo.cpp +++ b/graphics/video/coktelvideo/coktelvideo.cpp @@ -1324,7 +1324,9 @@ CoktelVideo::State Vmd::processFrame(uint16 frame) { _stream->skip(part.size); } - } else if (part.type == kPartTypeVideo) { + } else if ((part.type == kPartTypeVideo) && !_hasVideo) { + warning("Header claims there's no video, but video frame part found"); + } else if ((part.type == kPartTypeVideo) && _hasVideo) { state.flags &= ~kStateNoVideoData; uint32 size = part.size; |