We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ff033 commit 26176f9Copy full SHA for 26176f9
src/predictor.rs
@@ -291,7 +291,7 @@ impl Unpredict for FloatingPointPredictor {
291
) -> AsyncTiffResult<Bytes> {
292
let output_row_stride = predictor_info.output_row_stride(tile_x)?;
293
let mut res: BytesMut =
294
- BytesMut::zeroed(output_row_stride * predictor_info.output_rows(tile_y)? as usize);
+ BytesMut::zeroed(output_row_stride * predictor_info.output_rows(tile_y)?);
295
let bit_depth = predictor_info.bits_per_sample;
296
if predictor_info.chunk_width_pixels(tile_x)? == predictor_info.chunk_width {
297
// no special padding handling
0 commit comments