Fix missing errors
This commit is contained in:
1 parent
fcd097adc6
commit
c3aaadaa4e
2 files changed
+7
-3
No files matched your search
+1
-1
@@ -493,7 +493,7 @@ impl<R: Read + Seek> Decoder<R> {
|
||||
}
|
||||
}
|
||||
if units_read < buffer_size {
|
||||
return Err(TiffError::FormatError("Inconsistent sizes encountered.".to_string()));
|
||||
return Err(TiffError::FormatError(TiffFormatError::InconsistentSizesEncountered));
|
||||
}
|
||||
if let Ok(predictor) = self.get_tag_u32(ifd::Tag::Predictor) {
|
||||
result = match FromPrimitive::from_u32(predictor) {
|
||||
|
||||
Reference in new issue
Block a user