Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/target_dem_fuzzer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/target_dem_fuzzer.c b/tools/target_dem_fuzzer.c
index 6ee793a28b..687989ccc8 100644
--- a/tools/target_dem_fuzzer.c
+++ b/tools/target_dem_fuzzer.c
@@ -172,6 +172,10 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
avfmt->interrupt_callback.callback = interrupt_cb;
}
+ // HLS uses a loop with sleep, we thus must breakout or we timeout
+ if (!strcmp(fmt->name, "hls"))
+ interrupt_counter &= 31;
+
if (!io_buffer_size || size / io_buffer_size > maxblocks)
io_buffer_size = size;