diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-12-25 18:46:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-25 18:46:08 +0000 |
| commit | d594f81f65eb24d80ac4988c181bc099e8ec7c38 (patch) | |
| tree | b007ea28b081f65cf7ba2a407d3f67c4b78b5e8a /Emby.Drawing/ImageProcessor.cs | |
| parent | 60e75f7b700bb8ddc52d937892e2fcdaa57b9d6a (diff) | |
| parent | cbfa355e31ec7a78ef73bbde5566fb2b3424363e (diff) | |
Merge pull request #7048 from Bond-009/warn56
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); } |
