diff options
author | James Almer <jamrial@gmail.com> | 2023-06-29 09:58:29 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-06-29 14:12:50 -0300 |
commit | 9367b58e71a618d3125526ef2c5dc94b1e39caca (patch) | |
tree | abbec1df98b2c4a56b18d0f48cbff0585dcf1c91 | |
parent | 05186be641159c99b9de241cc40bb8cf4c8b81b1 (diff) | |
download | ffmpeg-9367b58e71a618d3125526ef2c5dc94b1e39caca.tar.gz |
tools/target_bsf_fuzzer: set aud option on h266_metadata bsf
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | tools/target_bsf_fuzzer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/target_bsf_fuzzer.c b/tools/target_bsf_fuzzer.c index 703647b61b..c8fab00343 100644 --- a/tools/target_bsf_fuzzer.c +++ b/tools/target_bsf_fuzzer.c @@ -94,7 +94,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { if (flags & 0x20) { if (!strcmp(f->name, "av1_metadata")) av_opt_set_int(bsf->priv_data, "td", bytestream2_get_byte(&gbc) % 3, 0); - else if (!strcmp(f->name, "h264_metadata") || !strcmp(f->name, "h265_metadata")) + else if (!strcmp(f->name, "h264_metadata") || !strcmp(f->name, "h265_metadata") || + !strcmp(f->name, "h266_metadata")) av_opt_set_int(bsf->priv_data, "aud", bytestream2_get_byte(&gbc) % 3, 0); else if (!strcmp(f->name, "extract_extradata")) av_opt_set_int(bsf->priv_data, "remove", bytestream2_get_byte(&gbc) & 1, 0); |