aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Drawing.Skia/SkiaHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Drawing.Skia/SkiaHelper.cs')
-rw-r--r--Jellyfin.Drawing.Skia/SkiaHelper.cs23
1 files changed, 0 insertions, 23 deletions
diff --git a/Jellyfin.Drawing.Skia/SkiaHelper.cs b/Jellyfin.Drawing.Skia/SkiaHelper.cs
deleted file mode 100644
index f9c79c855..000000000
--- a/Jellyfin.Drawing.Skia/SkiaHelper.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using SkiaSharp;
-
-namespace Jellyfin.Drawing.Skia
-{
- /// <summary>
- /// Class containing helper methods for working with SkiaSharp.
- /// </summary>
- public static class SkiaHelper
- {
- /// <summary>
- /// Ensures the result is a success
- /// by throwing an exception when that's not the case.
- /// </summary>
- /// <param name="result">The result returned by Skia.</param>
- public static void EnsureSuccess(SKCodecResult result)
- {
- if (result != SKCodecResult.Success)
- {
- throw new SkiaCodecException(result);
- }
- }
- }
-}