check ffmpeg stream for null

pull/702/head
Luke Pulverenti 12 years ago
parent b4a756780e
commit ff22828dd8

@ -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;
} }

Loading…
Cancel
Save