Solve CodeQL issue

This commit is contained in:
oxixes 2024-09-11 11:43:02 +02:00
parent f38e715d01
commit d2c2dcd53c

View file

@ -904,7 +904,8 @@ namespace MediaBrowser.MediaEncoding.Subtitles
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;
}