This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 6b49c0e8d13e110de66d7b48dc94e1cad84b821d Author: Martin Mirchev <[email protected]> AuthorDate: Tue Oct 27 10:42:10 2026 +0800 Commit: James Almer <[email protected]> CommitDate: Wed Oct 28 02:25:25 2026 +0000 tests/fate/jxl: add a parser test for an empty box and a box of size 0 Two concatenated container images: the first ends with an empty "free" box, the "jxlc" box of the second has size 0. The parser must output them as two packets, and must not treat size 0 as an invalid box size. Signed-off-by: Martin Mirchev <[email protected]> --- tests/fate/jxl.mak | 4 ++++ tests/ref/fate/jxl-parse-empty-box | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/tests/fate/jxl.mak b/tests/fate/jxl.mak index 1416b98f6d..3bb4ba7079 100644 --- a/tests/fate/jxl.mak +++ b/tests/fate/jxl.mak @@ -22,6 +22,10 @@ fate-jxl-small-ext-box: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/l.jxl -c copy FATE_JPEGXL_PARSE += fate-jxl-multiframe-permuted-toc fate-jxl-multiframe-permuted-toc: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/orange.jxl -c copy +# two concatenated images, the first ends with an empty box, the last box of the second has size 0 +FATE_JPEGXL_PARSE += fate-jxl-parse-empty-box +fate-jxl-parse-empty-box: CMD = framecrc -f jpegxl_pipe -i $(TARGET_SAMPLES)/jxl/concat-empty-box.jxl -c copy + FATE_JPEGXL_PARSE += $(FATE_JPEGXL_PARSE-yes) FATE_SAMPLES_FFMPEG-$(call FRAMECRC, IMAGE_JPEGXL_PIPE, , JPEGXL_PARSER) += $(FATE_JPEGXL_PARSE) fate-jxl-parse: $(FATE_JPEGXL_PARSE) diff --git a/tests/ref/fate/jxl-parse-empty-box b/tests/ref/fate/jxl-parse-empty-box new file mode 100644 index 0000000000..c4390d724b --- /dev/null +++ b/tests/ref/fate/jxl-parse-empty-box @@ -0,0 +1,7 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: jpegxl +#dimensions 0: 768x512 +#sar 0: 0/1 +0, 0, 0, 1, 80, 0xd74d1418 +0, 1, 1, 1, 72, 0x39d01246 -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
