mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Removed unnecessary seek
This commit is contained in:
parent
85485229e3
commit
0051fc9cf8
|
@ -346,8 +346,6 @@ class DdsImageFile(ImageFile.ImageFile):
|
|||
# pixel format
|
||||
pfsize, pfflags, fourcc, bitcount = struct.unpack("<4I", header.read(16))
|
||||
masks = struct.unpack("<4I", header.read(16))
|
||||
if flags & DDSD.CAPS:
|
||||
header.seek(20, io.SEEK_CUR)
|
||||
n = 0
|
||||
rawmode = None
|
||||
if pfflags & DDPF.RGB:
|
||||
|
|
Loading…
Reference in New Issue
Block a user