From f0c02796f44f7302719b0b107d0f0af6b00ffc50 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 1 Dec 2019 01:26:53 +0000 Subject: IMAGE: Fix Missing Default Switch Case in Truemotion 1 Codec This is flagged by GCC if -Wswitch-default is enabled. --- image/codecs/truemotion1.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3