summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/FuzzQOALoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom/Fuzzers/FuzzQOALoader.cpp')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzQOALoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzQOALoader.cpp b/Meta/Lagom/Fuzzers/FuzzQOALoader.cpp
index 52780971e9..a0c28cb5bb 100644
--- a/Meta/Lagom/Fuzzers/FuzzQOALoader.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzQOALoader.cpp
@@ -22,7 +22,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
auto samples = qoa->load_chunks(5 * KiB);
if (samples.is_error())
return 0;
- if (samples.value().size() > 0)
+ if (samples.value().size() == 0)
break;
}