mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
tools/target_bsf_fuzzer: set aud option on h266_metadata bsf
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
05186be641
commit
9367b58e71
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user