aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/Common/ImageHeader.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2015-09-13 17:32:02 -0400
committerLuke <luke.pulverenti@gmail.com>2015-09-13 17:32:02 -0400
commit14de062681026157c6917779a51af6fb7046cec2 (patch)
treefe72ade31e1ef3874e0ed71684fe8ed819e43cc0 /Emby.Drawing/Common/ImageHeader.cs
parent0f743205c4835d828de9f28f6ab7d325209e83b2 (diff)
update file system methods
Diffstat (limited to 'Emby.Drawing/Common/ImageHeader.cs')
-rw-r--r--Emby.Drawing/Common/ImageHeader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Drawing/Common/ImageHeader.cs b/Emby.Drawing/Common/ImageHeader.cs
index b66bd71ea..1c70b3bb6 100644
--- a/Emby.Drawing/Common/ImageHeader.cs
+++ b/Emby.Drawing/Common/ImageHeader.cs
@@ -46,7 +46,7 @@ namespace Emby.Drawing.Common
/// <exception cref="ArgumentException">The image was of an unrecognised format.</exception>
public static ImageSize GetDimensions(string path, ILogger logger, IFileSystem fileSystem)
{
- using (var fs = File.OpenRead(path))
+ using (var fs = fileSystem.OpenRead(path))
{
using (var binaryReader = new BinaryReader(fs))
{