From 6f64967d0080592bc37f408421da30baac310d58 Mon Sep 17 00:00:00 2001 From: sirlemonhead Date: Fri, 15 May 2020 19:32:55 +0100 Subject: [PATCH] libsmackerdec: Fix incorrect version comparison (though it wasn't breaking anything) --- source/libsmackerdec/src/SmackerDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libsmackerdec/src/SmackerDecoder.cpp b/source/libsmackerdec/src/SmackerDecoder.cpp index ed71052fe..e326fc330 100644 --- a/source/libsmackerdec/src/SmackerDecoder.cpp +++ b/source/libsmackerdec/src/SmackerDecoder.cpp @@ -848,7 +848,7 @@ int SmackerDecoder::DecodeFrame(uint32_t frameSize) break; case SMK_BLK_FULL: mode = 0; - if (kSMK4iD == signature) // In case of Smacker v4 we have three modes + if (isVer4) // In case of Smacker v4 we have three modes { if (bits.GetBit()) mode = 1; else if (bits.GetBit()) mode = 2;