mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-07-15 11:14:18 -04:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
52c7839741 | |||
3dadfa564d |
@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.12)
|
||||
|
||||
project(KImageFormats)
|
||||
|
||||
find_package(ECM 5.9.0 REQUIRED NO_MODULE)
|
||||
find_package(ECM 5.10.0 REQUIRED NO_MODULE)
|
||||
|
||||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
|
||||
|
||||
|
@ -86,7 +86,7 @@ static inline bool decodeRLEData(RLEVariant variant,
|
||||
stream >> count1;
|
||||
|
||||
if (count1 >= 128u) {
|
||||
unsigned length;
|
||||
unsigned length = 0;
|
||||
if (variant == RLEVariant::PIC) {
|
||||
if (count1 == 128u) {
|
||||
// If the value is exactly 128, it means that it is more than
|
||||
|
Reference in New Issue
Block a user