check audio stream for null

This commit is contained in:
Luke Pulverenti
2017-08-04 10:49:46 -04:00
parent 9b0e289602
commit e208ef19b0
2 changed files with 30 additions and 21 deletions

View File

@@ -24,7 +24,7 @@ namespace MediaBrowser.Model.Dlna
return SplitValue(Container);
}
private static List<string> SplitValue(string value)
public static List<string> SplitValue(string value)
{
List<string> list = new List<string>();
foreach (string i in (value ?? string.Empty).Split(','))