mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-12-27 09:56:33 +00:00
Solve CodeQL issue
This commit is contained in:
parent
f38e715d01
commit
d2c2dcd53c
|
@ -904,7 +904,8 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||||
|
|
||||||
public async Task<string> GetSubtitleFilePath(MediaStream subtitleStream, MediaSourceInfo mediaSource, CancellationToken cancellationToken)
|
public async Task<string> GetSubtitleFilePath(MediaStream subtitleStream, MediaSourceInfo mediaSource, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
var info = await GetReadableFile(mediaSource, subtitleStream, cancellationToken);
|
var info = await GetReadableFile(mediaSource, subtitleStream, cancellationToken)
|
||||||
|
.ConfigureAwait(false);
|
||||||
return info.Path;
|
return info.Path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue