mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Fix info for first frame of apng images getting clobbered when seeking to the first frame multiple times.
This commit is contained in:
parent
a786a0551b
commit
6d99f9193f
|
@ -378,7 +378,7 @@ class PngStream(ChunkStream):
|
|||
}
|
||||
|
||||
def rewind(self):
|
||||
self.im_info = self.rewind_state["info"]
|
||||
self.im_info = self.rewind_state["info"].copy()
|
||||
self.im_tile = self.rewind_state["tile"]
|
||||
self._seq_num = self.rewind_state["seq_num"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user