tools/target_dec_fuzzer: Do not corrupt the packet size return
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 25 Aug 2019 18:41:57 +0000 (20:41 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 26 Aug 2019 08:36:40 +0000 (10:36 +0200)
commit5af613cc484e352113987e04db927178004e6d94
treef58865503e41379819d801ee74d593f76478d389
parent8f49176e845fee8e4e0aaf06411636b46d1ae3ad
tools/target_dec_fuzzer: Do not corrupt the packet size return

Fixes: Timeout (infinite)
Fixes: 16732/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TAK_fuzzer-5642166377906176

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