tools/target_dec_fuzzer: check max samples in flush loop
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 1 Aug 2021 16:31:31 +0000 (18:31 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 6 Aug 2021 19:04:43 +0000 (21:04 +0200)
commitc42f277903028627fb916b72704fd0ccc83d4af2
tree382ab905c620c864c29320c9ae40fc620190b645
parente6754d2ad20c918735d3bf5cc8122ac57f53d03c
tools/target_dec_fuzzer: check max samples in flush loop

Fixes: Timeout
Fixes: 36020/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-4774629855068160

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tools/target_dec_fuzzer.c