Merge pull request #12607 from gnattu/stream-writer-type

Fix FormattingStreamWriter type
This commit is contained in:
Niels van Velzen 2024-09-08 09:46:43 +02:00 committed by GitHub
commit a75163a49f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1206,7 +1206,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
// Generate concat configuration entries for each file and write to file
Directory.CreateDirectory(Path.GetDirectoryName(concatFilePath));
using StreamWriter sw = new FormattingStreamWriter(concatFilePath, CultureInfo.InvariantCulture);
using var sw = new FormattingStreamWriter(concatFilePath, CultureInfo.InvariantCulture);
foreach (var path in files)
{
var mediaInfoResult = GetMediaInfo(