aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2019-12-01 01:26:53 +0000
committerD G Turner2019-12-01 01:26:53 +0000
commitf0c02796f44f7302719b0b107d0f0af6b00ffc50 (patch)
tree114396f60f1df6b9f12ed9a72bb92c59347c8a67
parent538bb7ab3e2ce73ef57833859455ceb76467ce54 (diff)
downloadscummvm-rg350-f0c02796f44f7302719b0b107d0f0af6b00ffc50.tar.gz
scummvm-rg350-f0c02796f44f7302719b0b107d0f0af6b00ffc50.tar.bz2
scummvm-rg350-f0c02796f44f7302719b0b107d0f0af6b00ffc50.zip
IMAGE: Fix Missing Default Switch Case in Truemotion 1 Codec
This is flagged by GCC if -Wswitch-default is enabled.
-rw-r--r--image/codecs/truemotion1.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/image/codecs/truemotion1.cpp b/image/codecs/truemotion1.cpp
index e60ec6c72e..28df1119c4 100644
--- a/image/codecs/truemotion1.cpp
+++ b/image/codecs/truemotion1.cpp
@@ -379,6 +379,8 @@ void TrueMotion1Decoder::decode16() {
OUTPUT_PIXEL_PAIR();
}
break;
+ default:
+ break;
}
} else {
// skip (copy) four pixels, but reassign the horizontal