aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ApiEntryPoint.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-17 20:24:39 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-17 20:24:39 +0100
commit38f96af079887cce7c38fcde8340fd7c6d1150ad (patch)
tree32f2a7bdc6e0789bb9af34599234e99bcb2b9187 /MediaBrowser.Api/ApiEntryPoint.cs
parent321c440739ae7657349c6a8e672a88bea1d6753c (diff)
Reformat JustAMan review pt2 changes
Refs #575
Diffstat (limited to 'MediaBrowser.Api/ApiEntryPoint.cs')
-rw-r--r--MediaBrowser.Api/ApiEntryPoint.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/ApiEntryPoint.cs b/MediaBrowser.Api/ApiEntryPoint.cs
index 4e2380cfa..8ae0ad942 100644
--- a/MediaBrowser.Api/ApiEntryPoint.cs
+++ b/MediaBrowser.Api/ApiEntryPoint.cs
@@ -101,7 +101,7 @@ namespace MediaBrowser.Api
{
lock (_transcodingLocks)
{
- if (!_transcodingLocks.TryGetValue(outputPath, out var result))
+ if (!_transcodingLocks.TryGetValue(outputPath, out SemaphoreSlim result))
{
result = new SemaphoreSlim(1, 1);
_transcodingLocks[outputPath] = result;