diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2020-04-01 23:56:00 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-01 23:56:00 +0300 |
| commit | cc40f84f3c138e439318e400eeb53cbb74eb8a84 (patch) | |
| tree | b07d4daa00a930e744008d0955e35a9102e85052 /MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs | |
| parent | 07ea120ba961c20717dba625edb462d09e5ebec3 (diff) | |
| parent | f31efce52db9dbd726cce55ea099c0c5165da566 (diff) | |
Merge pull request #2660 from Bond-009/usings
Minor style fixes
Diffstat (limited to 'MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs')
| -rw-r--r-- | MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs b/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs index f7ed9fb1a..b76b52941 100644 --- a/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs +++ b/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs @@ -761,10 +761,10 @@ namespace MediaBrowser.MediaEncoding.Subtitles return _httpClient.Get(opts); - case MediaProtocol.File: - return Task.FromResult<Stream>(File.OpenRead(path)); - default: - throw new ArgumentOutOfRangeException(nameof(protocol)); + case MediaProtocol.File: + return Task.FromResult<Stream>(File.OpenRead(path)); + default: + throw new ArgumentOutOfRangeException(nameof(protocol)); } } } |
