From 30c3c51586a5b84feccd57b293cba69ea18811ec Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Sun, 17 May 2020 23:49:13 +0100 Subject: [PATCH] Update Image.FromStream.cs --- src/ImageSharp/Image.FromStream.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ImageSharp/Image.FromStream.cs b/src/ImageSharp/Image.FromStream.cs index afd0f0e59..3676823dc 100644 --- a/src/ImageSharp/Image.FromStream.cs +++ b/src/ImageSharp/Image.FromStream.cs @@ -576,8 +576,8 @@ namespace SixLabors.ImageSharp await WithSeekableStreamAsync( configuration, stream, - async s => await DecodeAsync(s, configuration) - .ConfigureAwait(false)); + s => DecodeAsync(s, configuration)) + .ConfigureAwait(false); if (data.img != null) {