tools/target_bsf_fuzzer: fix some filter names

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2023-06-29 22:44:11 -03:00
parent 915701939c
commit f48ddc1ba0

View File

@ -94,8 +94,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
if (flags & 0x20) { if (flags & 0x20) {
if (!strcmp(f->name, "av1_metadata")) if (!strcmp(f->name, "av1_metadata"))
av_opt_set_int(bsf->priv_data, "td", bytestream2_get_byte(&gbc) % 3, 0); 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, "hevc_metadata") ||
!strcmp(f->name, "h266_metadata")) !strcmp(f->name, "vvc_metadata"))
av_opt_set_int(bsf->priv_data, "aud", bytestream2_get_byte(&gbc) % 3, 0); av_opt_set_int(bsf->priv_data, "aud", bytestream2_get_byte(&gbc) % 3, 0);
else if (!strcmp(f->name, "extract_extradata")) else if (!strcmp(f->name, "extract_extradata"))
av_opt_set_int(bsf->priv_data, "remove", bytestream2_get_byte(&gbc) & 1, 0); av_opt_set_int(bsf->priv_data, "remove", bytestream2_get_byte(&gbc) & 1, 0);