mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Fix nullrefexception in SubtitleEncoder
This commit is contained in:
@@ -160,9 +160,9 @@ namespace Emby.Server.Implementations.Library
|
||||
list.Add(source);
|
||||
}
|
||||
|
||||
foreach (var source in list)
|
||||
if (user != null)
|
||||
{
|
||||
if (user != null)
|
||||
foreach (var source in list)
|
||||
{
|
||||
if (string.Equals(item.MediaType, MediaType.Audio, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user