tools/target_dec_fuzzer: set avctx->workaround_bugs flags

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2022-07-19 10:44:23 -03:00
parent 5a27aa7dc7
commit 8daa0fea9f
1 changed files with 2 additions and 0 deletions

View File

@ -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) {