updated ffmpeg

This commit is contained in:
Luke Pulverenti
2013-08-16 10:37:04 -04:00
parent cc403f2c2f
commit 33eb6bca88
4 changed files with 11 additions and 5 deletions

View File

@@ -145,12 +145,18 @@ namespace MediaBrowser.Server.Implementations.Persistence
{
if (reader.Read())
{
return new ChapterInfo
var chapter = new ChapterInfo
{
StartPositionTicks = reader.GetInt64(0),
Name = reader.GetString(1),
ImagePath = reader.GetString(2)
Name = reader.GetString(1)
};
if (!reader.IsDBNull(2))
{
chapter.ImagePath = reader.GetString(2);
}
return chapter;
}
}
return null;