mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue