aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/indeo5.cpp
diff options
context:
space:
mode:
authorD G Turner2019-11-30 22:08:44 +0000
committerD G Turner2019-11-30 22:08:44 +0000
commitaee09409e8b30dbd8ea10c9190b85037fe8458c9 (patch)
tree2cf8b40cca8d94d21985b60dea7bcf2443b6f7e7 /image/codecs/indeo5.cpp
parent88761ea49ce5244dc33a0784bbfba702f82d3241 (diff)
downloadscummvm-rg350-aee09409e8b30dbd8ea10c9190b85037fe8458c9.tar.gz
scummvm-rg350-aee09409e8b30dbd8ea10c9190b85037fe8458c9.tar.bz2
scummvm-rg350-aee09409e8b30dbd8ea10c9190b85037fe8458c9.zip
IMAGE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'image/codecs/indeo5.cpp')
-rw-r--r--image/codecs/indeo5.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/image/codecs/indeo5.cpp b/image/codecs/indeo5.cpp
index 790bdec87a..e36fb55d97 100644
--- a/image/codecs/indeo5.cpp
+++ b/image/codecs/indeo5.cpp
@@ -176,6 +176,7 @@ void Indeo5Decoder::switchBuffers() {
break;
case FRAMETYPE_INTER_NOREF:
+ default:
break;
}
@@ -192,6 +193,7 @@ void Indeo5Decoder::switchBuffers() {
case FRAMETYPE_INTER_SCAL:
case FRAMETYPE_INTER_NOREF:
case FRAMETYPE_NULL:
+ default:
break;
}
}
@@ -513,6 +515,9 @@ int Indeo5Decoder::decode_gop_header() {
band->_scan = _ffIviDirectScan4x4;
band->_transformSize = 4;
break;
+
+ default:
+ break;
}
band->_is2dTrans = band->_invTransform == IndeoDSP::ffIviInverseSlant8x8 ||