aboutsummaryrefslogtreecommitdiff
path: root/graphics/video
diff options
context:
space:
mode:
authorSven Hesse2010-08-08 01:01:45 +0000
committerSven Hesse2010-08-08 01:01:45 +0000
commiteed41aa22337571c18e08abfdf00d19fd2a5121d (patch)
tree71cb6c74c09c7ed285428ecdf2b3e1bbb3a2dac9 /graphics/video
parent6d03ddef0bcc06041b385224c003d78c8214cf4f (diff)
downloadscummvm-rg350-eed41aa22337571c18e08abfdf00d19fd2a5121d.tar.gz
scummvm-rg350-eed41aa22337571c18e08abfdf00d19fd2a5121d.tar.bz2
scummvm-rg350-eed41aa22337571c18e08abfdf00d19fd2a5121d.zip
VIDEO: Fix a failed assertion in VMDDecoder::readFiles()
svn-id: r51908
Diffstat (limited to 'graphics/video')
-rw-r--r--graphics/video/coktel_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp
index cc4745b535..4af11c3f1a 100644
--- a/graphics/video/coktel_decoder.cpp
+++ b/graphics/video/coktel_decoder.cpp
@@ -1808,7 +1808,7 @@ bool VMDDecoder::readFiles() {
_stream->skip(_frames[i].parts[j].size - 20);
- if ((((uint32) file.realSize) >= ssize) || (file.name[0] == 0))
+ if ((((uint32) file.realSize) >= ssize) || (file.name == ""))
continue;
_files.push_back(file);