aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2023-11-27 09:10:08 -0500
committerLeo Izen <leo.izen@gmail.com>2023-12-05 05:54:58 -0500
commitb60d39fbe2b30225e504ea9e0dc8c30c78683c90 (patch)
tree709fe57f6894fcdb17421d1b7cf84f7906d1fc92 /tests/fate
parentc4be080e65a37cac5ef8ce6ba7a9e1a59cb9b7dd (diff)
downloadffmpeg-b60d39fbe2b30225e504ea9e0dc8c30c78683c90.tar.gz
fate/jpegxl: add parser test for extboxes and small files
Add a fate test for the above commits fixing extremely small files or files with extended box sizes. Signed-off-by: Leo Izen <leo.izen@gmail.com>
Diffstat (limited to 'tests/fate')
-rw-r--r--tests/fate/jxl.mak8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/jxl.mak b/tests/fate/jxl.mak
index 057d3be0e1..d653eb644a 100644
--- a/tests/fate/jxl.mak
+++ b/tests/fate/jxl.mak
@@ -14,3 +14,11 @@ FATE_JPEGXL_ANIM_DEMUX += $(FATE_JPEGXL_ANIM_DEMUX-yes)
FATE_SAMPLES_FFMPEG-$(call FRAMECRC, JPEGXL_ANIM) += $(FATE_JPEGXL_ANIM_DEMUX)
fate-jxl-anim-demux: $(FATE_JPEGXL_ANIM_DEMUX)
+
+# parser tests
+FATE_JPEGXL_PARSE += fate-jxl-small-ext-box
+fate-jxl-small-ext-box: CMD = framecrc -i $(TARGET_SAMPLES)/jxl/l.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)