Apply suggestions from code review

Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
Claus Vium 2021-05-28 19:01:08 +02:00 committed by GitHub
parent 1580bf5469
commit 2d5ed7cb95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
{