Reading fields shouldn't need the entire Decoder
This commit is contained in:
1 parent
23fe194ad9
commit
2d10cff97e
3 files changed
+80
-62
No files matched your search
+1
-3
@@ -988,9 +988,7 @@ impl<R: Read + Seek> Decoder<R> {
|
||||
Some(entry) => entry.clone(),
|
||||
};
|
||||
|
||||
let limits = self.limits.clone();
|
||||
|
||||
Ok(Some(entry.val(&limits, self)?))
|
||||
Ok(Some(entry.val(&self.limits, self.bigtiff, &mut self.reader)?))
|
||||
}
|
||||
|
||||
/// Tries to retrieve a tag and convert it to the desired unsigned type.
|
||||
|
||||
Reference in new issue
Block a user