Revert "Added argument that was removed in 0.9.0"

This reverts commit 79f941dfa5.
This commit is contained in:
Andrew Murray 2025-11-22 17:40:40 +11:00
parent 358150b837
commit fe612ea6e4

View File

@ -288,12 +288,7 @@ decoder_loop_skip_process:
// got color encoding
if (decp->status == JXL_DEC_COLOR_ENCODING) {
decp->status = JxlDecoderGetICCProfileSize(
decp->decoder,
#if JPEGXL_MINOR_VERSION < 9
NULL,
#endif
JXL_COLOR_PROFILE_TARGET_DATA,
&decp->jxl_icc_len
decp->decoder, JXL_COLOR_PROFILE_TARGET_DATA, &decp->jxl_icc_len
);
_JXL_CHECK("JxlDecoderGetICCProfileSize");
@ -305,9 +300,6 @@ decoder_loop_skip_process:
decp->status = JxlDecoderGetColorAsICCProfile(
decp->decoder,
#if JPEGXL_MINOR_VERSION < 9
NULL,
#endif
JXL_COLOR_PROFILE_TARGET_DATA,
decp->jxl_icc,
decp->jxl_icc_len