summaryrefslogtreecommitdiff
path: root/vendor/golang.org
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org')
-rw-r--r--vendor/golang.org/x/image/webp/decode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/image/webp/decode.go b/vendor/golang.org/x/image/webp/decode.go
index e211c7d57..0df3c67e8 100644
--- a/vendor/golang.org/x/image/webp/decode.go
+++ b/vendor/golang.org/x/image/webp/decode.go
@@ -261,7 +261,7 @@ func Decode(r io.Reader) (image.Image, error) {
if err != nil {
return nil, err
}
- return m, err
+ return m, nil
}
// DecodeConfig returns the color model and dimensions of a WEBP image without