aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/ImageProcessor.cs
diff options
context:
space:
mode:
authorOdd Stråbø <oddstr13@openshell.no>2021-03-29 00:48:59 +0200
committerOdd Stråbø <oddstr13@openshell.no>2021-04-11 08:21:23 +0200
commitd0857cf6553ffa9560b42720af04e0b5ebcc9c7f (patch)
treeabcc91c38efeacc250e204b73acbc2430f40ae95 /Emby.Drawing/ImageProcessor.cs
parente0edbc5754ad4d6afad1f01874ca2085d4f0791d (diff)
Fix build, increase StringBuilder starting size
Diffstat (limited to 'Emby.Drawing/ImageProcessor.cs')
-rw-r--r--Emby.Drawing/ImageProcessor.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Drawing/ImageProcessor.cs b/Emby.Drawing/ImageProcessor.cs
index 78b53f36a..7d952aa23 100644
--- a/Emby.Drawing/ImageProcessor.cs
+++ b/Emby.Drawing/ImageProcessor.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
+using System.Text;
using System.Threading.Tasks;
using Jellyfin.Data.Entities;
using MediaBrowser.Common.Extensions;
@@ -274,7 +275,7 @@ namespace Emby.Drawing
string backgroundColor,
string foregroundLayer)
{
- var filename = new StringBuilder(128);
+ var filename = new StringBuilder(256);
filename.Append(originalPath);
filename.Append(",quality=");