This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch double-free
in repository legacy-imlib2.

View the commit online.

commit 45d58cc268e2f79d7e319e988afee6c71c16a984
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Sat Sep 23 14:57:47 2023 +0200

    test_save: Update crcs for jxl saver (libjxl 0.8.0)
    
    Also add a couple of missing ifdefs.
---
 test/test_save.cpp | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/test/test_save.cpp b/test/test_save.cpp
index c984a05..87355d3 100644
--- a/test/test_save.cpp
+++ b/test/test_save.cpp
@@ -3,6 +3,9 @@
 #include "config.h"
 #include <fcntl.h>
 #include <Imlib2.h>
+#ifdef BUILD_JXL_LOADER
+#include <jxl/version.h>
+#endif
 
 #include "test.h"
 
@@ -26,12 +29,24 @@ static const test_rec_t exts[] = {
 // { "ico",  { 0, 0 } },
 // { "id3",  { 0, 0 } },
 // { "j2k",  { 0, 0 } },
+#ifdef BUILD_JPEG_LOADER
    { "jpeg", { 2458451111, 3483232328 } },
+#endif
+#ifdef BUILD_JXL_LOADER
+#if JPEGXL_NUMERIC_VERSION >= JPEGXL_COMPUTE_NUMERIC_VERSION(0, 8, 0)
+#ifdef __i386__
+   { "jxl",  { 4232124886, 2621968888 } },
+#else
+   { "jxl",  { 4232124886, 1010978750 } },
+#endif
+#else
 #ifdef __i386__
    { "jxl",  { 2681286418, 3923017710 } },
 #else
-   { "jxl",  { 2681286418,  774897965 } },
+   { "jxl",  { 2681286418, 2516911844 } },
 #endif
+#endif
+#endif // BUILD_JXL_LOADER
 // { "lbm",  { 0, 0 } },
 // { "lzma", { 0, 0 } },
    { "png",  { 1153555547, 2937827957 } },
@@ -40,7 +55,9 @@ static const test_rec_t exts[] = {
 // { "svg",  { 0, 0 } },
    { "tga",  { 1153555547, 2937827957 } },
    { "tiff", { 1153555547, 2937827957 } },
+#ifdef BUILD_WEBP_LOADER
    { "webp", { 1698406918, 1844000264 } },
+#endif
    { "xbm",  { 4292907803,  914370483 } },
 // { "xpm",  { 0, 0 } },
 // { "zlib", { 0, 0 } },

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to