Skip to content

Commit 4f98377

Browse files
committed
Update multi-threaded invocation of color conversion function too
1 parent e4ef58f commit 4f98377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/decoder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ fn compute_image_parallel(components: &[Component],
861861
for (row, line) in image.chunks_mut(line_size)
862862
.enumerate() {
863863
upsampler.upsample_and_interleave_row(&data, row, output_size.width as usize, line);
864-
color_convert_func(line, output_size.width as usize);
864+
color_convert_func(line);
865865
}
866866

867867
Ok(image)

0 commit comments

Comments
 (0)