diff --git a/src/PIL/WebPImagePlugin.py b/src/PIL/WebPImagePlugin.py index a24ff682c..000e02b43 100644 --- a/src/PIL/WebPImagePlugin.py +++ b/src/PIL/WebPImagePlugin.py @@ -39,7 +39,7 @@ class WebPImageFile(ImageFile.ImageFile): format = "WEBP" format_description = "WebP image" __loaded = -1 - __logical_frame = -1 + __logical_frame = 0 def _open(self): if not _webp.HAVE_WEBPANIM: