check ffmpeg stream for null

This commit is contained in:
Luke Pulverenti 2013-06-16 21:49:30 -04:00
parent b4a756780e
commit ff22828dd8

View File

@ -244,7 +244,7 @@ namespace MediaBrowser.Providers.MediaInfo
/// <param name="data">The data.</param> /// <param name="data">The data.</param>
private void FetchWtvInfo(Video video, MediaInfoResult data) private void FetchWtvInfo(Video video, MediaInfoResult data)
{ {
if (data.format.tags == null) if (data.format == null || data.format.tags == null)
{ {
return; return;
} }