[FFmpeg-devel] [PATCH 3/3] tools/target_dec_fuzzer: set avctx->workaround_bugs flags
James Almer
jamrial at gmail.com
Tue Jul 19 16:44:23 EEST 2022
Signed-off-by: James Almer <jamrial at gmail.com>
---
tools/target_dec_fuzzer.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 06c38a96c1..5831052ba8 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -409,6 +409,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
if (flags64 & 0x10)
ctx->err_recognition |= AV_EF_CRCCHECK;
+ ctx->workaround_bugs = bytestream2_get_le32(&gbc);
+
if (extradata_size < size) {
ctx->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);
if (ctx->extradata) {
--
2.37.1
More information about the ffmpeg-devel
mailing list