@@ -90,7 +90,7 @@ _cf_image_create_from_jxl_decoder(JxlDecoder *decoder)
90
90
/* Process decoder events until the full image is decoded. */
91
91
while ((status = JxlDecoderProcessInput (decoder )) != JXL_DEC_FULL_IMAGE ) {
92
92
if (status == JXL_DEC_ERROR ) {
93
- DEBUG_printf ("DEBUG: _cf_image_create_from_jxl_decoder: JPEG‑XL decoding error. Status: %d \n" , status );
93
+ DEBUG_printf ("DEBUG: _cf_image_create_from_jxl_decoder: JPEG‑XL decoding error.\n" );
94
94
free (output_buffer );
95
95
return NULL ;
96
96
}
@@ -141,7 +141,6 @@ _cfImageReadJPEGXL(cf_image_t *img, FILE *fp,
141
141
}
142
142
filesize = ftell (fp );
143
143
rewind (fp );
144
- DEBUG_printf ("DEBUG: JPEG‑XL: File size: %zu bytes\n" , filesize );
145
144
146
145
data = malloc (filesize );
147
146
if (!data ) {
@@ -166,7 +165,7 @@ _cfImageReadJPEGXL(cf_image_t *img, FILE *fp,
166
165
167
166
status = JxlDecoderSetInput (decoder , data , filesize );
168
167
if (status != JXL_DEC_SUCCESS ) {
169
- DEBUG_printf ("DEBUG: JPEG‑XL: Failed to set input buffer. Status: %d \n" , status );
168
+ DEBUG_printf ("DEBUG: JPEG‑XL: Failed to set input buffer.\n" );
170
169
JxlDecoderDestroy (decoder );
171
170
free (data );
172
171
return -1 ;
@@ -175,7 +174,7 @@ _cfImageReadJPEGXL(cf_image_t *img, FILE *fp,
175
174
/* Process input until full image is decoded. */
176
175
while ((status = JxlDecoderProcessInput (decoder )) != JXL_DEC_FULL_IMAGE ) {
177
176
if (status == JXL_DEC_ERROR ) {
178
- DEBUG_printf ("DEBUG: JPEG‑XL: Decoding error. Status: %d \n" , status );
177
+ DEBUG_printf ("DEBUG: JPEG‑XL: Decoding error.\n" );
179
178
JxlDecoderDestroy (decoder );
180
179
free (data );
181
180
return -1 ;
0 commit comments