aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/video
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cryomni3d/video')
-rw-r--r--engines/cryomni3d/video/hnm_decoder.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/cryomni3d/video/hnm_decoder.cpp b/engines/cryomni3d/video/hnm_decoder.cpp
index bd548e4294..e139f99716 100644
--- a/engines/cryomni3d/video/hnm_decoder.cpp
+++ b/engines/cryomni3d/video/hnm_decoder.cpp
@@ -286,10 +286,12 @@ void HNMDecoder::HNM4VideoTrack::decodeInterframe(Common::SeekableReadStream *st
currentPos += width;
break;
case 3:
- default:
// End of picture
eop = true;
break;
+ default:
+ error("BUG: Shouldn't be here");
+ break;
}
} else {
if (size < 2) {