aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Providers/MediaInfo/FFProbeHelpers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Providers/MediaInfo/FFProbeHelpers.cs')
-rw-r--r--MediaBrowser.Providers/MediaInfo/FFProbeHelpers.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Providers/MediaInfo/FFProbeHelpers.cs b/MediaBrowser.Providers/MediaInfo/FFProbeHelpers.cs
index 49c7ebec8..2044979e4 100644
--- a/MediaBrowser.Providers/MediaInfo/FFProbeHelpers.cs
+++ b/MediaBrowser.Providers/MediaInfo/FFProbeHelpers.cs
@@ -12,6 +12,11 @@ namespace MediaBrowser.Providers.MediaInfo
/// <param name="result">The result.</param>
public static void NormalizeFFProbeResult(InternalMediaInfoResult result)
{
+ if (result == null)
+ {
+ throw new ArgumentNullException("result");
+ }
+
if (result.format != null && result.format.tags != null)
{
result.format.tags = ConvertDictionaryToCaseInSensitive(result.format.tags);