diff options
| author | crobibero <cody@robibe.ro> | 2020-08-17 15:54:40 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-08-17 15:54:40 -0600 |
| commit | 29d8e3816135b1af926eaf9c44f96638ce5956fe (patch) | |
| tree | 813280744e6e5542fc595287d7991c2a7bdf1779 /Jellyfin.Api/Controllers/ImageController.cs | |
| parent | 7861c72754172a1d2ebaffdde861fd614fa65488 (diff) | |
| parent | d0f49b39945424e5d2a8697ea551055ce26cf758 (diff) | |
Merge remote-tracking branch 'upstream/master' into fixes
Diffstat (limited to 'Jellyfin.Api/Controllers/ImageController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/ImageController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ImageController.cs b/Jellyfin.Api/Controllers/ImageController.cs index 45447ae0c..8f5c6beb3 100644 --- a/Jellyfin.Api/Controllers/ImageController.cs +++ b/Jellyfin.Api/Controllers/ImageController.cs @@ -969,7 +969,7 @@ namespace Jellyfin.Api.Controllers var text = await reader.ReadToEndAsync().ConfigureAwait(false); var bytes = Convert.FromBase64String(text); - return new MemoryStream(bytes) { Position = 0 }; + return new MemoryStream(bytes, 0, bytes.Length, false, true); } private ImageInfo? GetImageInfo(BaseItem item, ItemImageInfo info, int? imageIndex) |
