[FFmpeg-cvslog] tools/target_bsf_fuzzer: set aud option on h266_metadata bsf

James Almer git at videolan.org
Thu Jun 29 20:36:29 EEST 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Jun 29 09:58:29 2023 -0300| [9367b58e71a618d3125526ef2c5dc94b1e39caca] | committer: James Almer

tools/target_bsf_fuzzer: set aud option on h266_metadata bsf

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9367b58e71a618d3125526ef2c5dc94b1e39caca
---

 tools/target_bsf_fuzzer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);



More information about the ffmpeg-cvslog mailing list