From ff22828dd8d4edde4bb429163c9ff93b52812610 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 16 Jun 2013 21:49:30 -0400 Subject: [PATCH] check ffmpeg stream for null --- MediaBrowser.Providers/MediaInfo/FFProbeVideoInfoProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfoProvider.cs b/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfoProvider.cs index 37725bf17..82a6a1d8e 100644 --- a/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfoProvider.cs +++ b/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfoProvider.cs @@ -244,7 +244,7 @@ namespace MediaBrowser.Providers.MediaInfo /// The data. private void FetchWtvInfo(Video video, MediaInfoResult data) { - if (data.format.tags == null) + if (data.format == null || data.format.tags == null) { return; }