summaryrefslogtreecommitdiff
path: root/media-gfx/exact-image/files/exact-image-1.2.1-libjxl-9.patch
blob: 520300b85146dbb0ed2602f6e681cc9c1a486a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/codecs/jpegxl.cc	2024-10-06 17:58:07.684805110 +0200
+++ b/codecs/jpegxl.cc	2024-10-06 17:58:23.929604759 +0200
@@ -186,7 +186,7 @@
   }
   
   if (JXL_ENC_SUCCESS !=
-      JxlEncoderAddImageFrame(JxlEncoderOptionsCreate(enc.get(), nullptr),
+      JxlEncoderAddImageFrame(JxlEncoderFrameSettingsCreate(enc.get(), nullptr),
                               &pixel_format, image.getRawData(),
                               image.stride() * image.h)) {
     std::cerr << "JxlEncoderAddImageFrame failed" << std::endl;