Closed HeroicKatora closed 3 years ago
Fix: https://github.com/image-rs/image/issues/1410
The end of the loop can be reached without having read any frame. Then the frame is still None and we mustn't unwrap the reference we take.
frame
None
Fix: https://github.com/image-rs/image/issues/1410
The end of the loop can be reached without having read any frame. Then the
frame
is stillNone
and we mustn't unwrap the reference we take.