diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index b3a5ae8..8ba323b 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -806,7 +806,7 @@ impl Decoder { let next_ifd = match next_ifd { 0 => None, - 1.. => Some(next_ifd), + _ => Some(next_ifd), }; Ok((dir, next_ifd))