Apply suggestions from code review

Co-authored-by: Bond-009 <bond.009@outlook.com>
pull/6096/head
Claus Vium 4 years ago committed by GitHub
parent 1580bf5469
commit 2d5ed7cb95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,7 +136,7 @@ namespace MediaBrowser.Providers.MediaInfo
var language = languageSpan.ToString();
var culture = _localization.FindLanguageInfo(language);
language = culture != null ? culture.ThreeLetterISOLanguageName : language;
language = culture == null ? language : culture.ThreeLetterISOLanguageName;
mediaStream = new MediaStream
{

Loading…
Cancel
Save