summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Fuzzers/FuzzFlacLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Meta/Lagom/Fuzzers/FuzzFlacLoader.cpp')
-rw-r--r--Meta/Lagom/Fuzzers/FuzzFlacLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Fuzzers/FuzzFlacLoader.cpp b/Meta/Lagom/Fuzzers/FuzzFlacLoader.cpp
index 2f393e0c3b..9e1b19769a 100644
--- a/Meta/Lagom/Fuzzers/FuzzFlacLoader.cpp
+++ b/Meta/Lagom/Fuzzers/FuzzFlacLoader.cpp
@@ -21,7 +21,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size)
for (;;) {
auto samples = flac->get_more_samples();
if (samples.is_error())
- return 2;
+ return 0;
if (samples.value().size() > 0)
break;
}