diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-12-24 18:28:27 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-12-24 18:28:27 +0100 |
| commit | cbfa355e31ec7a78ef73bbde5566fb2b3424363e (patch) | |
| tree | 7d6dd095e025b5918fca1fcc5d354012bd4cc428 /Emby.Drawing/ImageProcessor.cs | |
| parent | 2e7d173188cc755ed56b8a45e3b18206afdc4b91 (diff) | |
Update StyleCop
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
| -rw-r--r-- | Emby.Drawing/ImageProcessor.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs index 3f75e4fc7..8ea711abe 100644 --- a/Emby.Drawing/ImageProcessor.cs +++ b/Emby.Drawing/ImageProcessor.cs @@ -101,8 +101,7 @@ namespace Emby.Drawing public async Task ProcessImage(ImageProcessingOptions options, Stream toStream) { var file = await ProcessImage(options).ConfigureAwait(false); - - using (var fileStream = AsyncFile.OpenRead(file.Item1)) + using (var fileStream = AsyncFile.OpenRead(file.path)) { await fileStream.CopyToAsync(toStream).ConfigureAwait(false); } |
