Fixed ffmpeg extraction

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-08-25 17:13:02 -04:00
parent ee91096eb0
commit 81c16c305b

View File

@ -269,7 +269,7 @@ namespace MediaBrowser.Controller
/// Run these during Init. /// 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 /// Can't run do this on-demand because there will be multiple workers accessing them at once and we'd have to lock them
/// </summary> /// </summary>
private async void ExtractFFMpeg(string exe) private void ExtractFFMpeg(string exe)
{ {
if (File.Exists(exe)) if (File.Exists(exe))
{ {
@ -281,7 +281,7 @@ namespace MediaBrowser.Controller
{ {
using (FileStream fileStream = new FileStream(exe, FileMode.Create)) using (FileStream fileStream = new FileStream(exe, FileMode.Create))
{ {
await stream.CopyToAsync(fileStream).ConfigureAwait(false); stream.CopyTo(fileStream);
} }
} }
} }