Fix formatting

This commit is contained in:
ruffson committed 2020-09-26 17:22:59 +02:00
1 parent 6353f71e28
commit d00ab0cc61
3 files changed
+5 -9

No files matched your search

-1
View File
@@ -958,7 +958,6 @@ impl<R: Read + Seek> Decoder<R> {
let mut res_img = Vec::with_capacity(offsets[0] as usize);
for (idx, offset) in offsets.iter().enumerate() {
if bytes[idx] as usize > self.limits.intermediate_buffer_size {
return Err(TiffError::LimitsExceeded);
}