From 81c16c305bca7806e7749e90c23d90aaca2d0ab5 Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Sat, 25 Aug 2012 17:13:02 -0400 Subject: [PATCH] Fixed ffmpeg extraction --- MediaBrowser.Controller/Kernel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Controller/Kernel.cs b/MediaBrowser.Controller/Kernel.cs index 78b19282c4..5359bdc910 100644 --- a/MediaBrowser.Controller/Kernel.cs +++ b/MediaBrowser.Controller/Kernel.cs @@ -269,7 +269,7 @@ namespace MediaBrowser.Controller /// Run these during Init. /// Can't run do this on-demand because there will be multiple workers accessing them at once and we'd have to lock them /// - private async void ExtractFFMpeg(string exe) + private void ExtractFFMpeg(string exe) { if (File.Exists(exe)) { @@ -281,7 +281,7 @@ namespace MediaBrowser.Controller { using (FileStream fileStream = new FileStream(exe, FileMode.Create)) { - await stream.CopyToAsync(fileStream).ConfigureAwait(false); + stream.CopyTo(fileStream); } } }