mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-19 05:49:09 +02:00
tools/target_dec_fuzzer: set avctx->workaround_bugs flags
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
5a27aa7dc7
commit
8daa0fea9f
@ -411,6 +411,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user