[FFmpeg-cvslog] tools/target_dec_fuzzer: Adjust threshold for RASC

Michael Niedermayer git at videolan.org
Sun Jan 12 19:53:47 EET 2020


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Dec 11 22:03:52 2019 +0100| [029cc9883fa7fe0e4fdbaac29f2d53d31c9792e3] | committer: Michael Niedermayer

tools/target_dec_fuzzer: Adjust threshold for RASC

Fixes: Timeout(35sec -> 4sec)
Fixes: 19289/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RASC_fuzzer-5676526398078976

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=029cc9883fa7fe0e4fdbaac29f2d53d31c9792e3
---

 tools/target_dec_fuzzer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 2d9d28b46d..be00d1f2ed 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -145,6 +145,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
     case AV_CODEC_ID_FFWAVESYNTH: maxsamples /= 16384; break;
     case AV_CODEC_ID_MSRLE:     maxpixels /= 16;  break;
     case AV_CODEC_ID_QTRLE:     maxpixels /= 16;  break;
+    case AV_CODEC_ID_RASC:      maxpixels /= 16;  break;
     case AV_CODEC_ID_SANM:      maxpixels /= 16;  break;
     case AV_CODEC_ID_G2M:       maxpixels /= 64;  break;
     case AV_CODEC_ID_GIF:       maxpixels /= 16;  break;



More information about the ffmpeg-cvslog mailing list