aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video/qt_decoder.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp
index 08d7620fb2..9b77ef70c1 100644
--- a/video/qt_decoder.cpp
+++ b/video/qt_decoder.cpp
@@ -566,10 +566,8 @@ Common::SeekableReadStream *QuickTimeDecoder::VideoTrackHandler::getNextFramePac
}
}
- if (actualChunk < 0) {
- warning("Could not find data for frame %d", _curFrame);
- return 0;
- }
+ if (actualChunk < 0)
+ error("Could not find data for frame %d", _curFrame);
// Next seek to that frame
Common::SeekableReadStream *stream = _decoder->_fd;