Explorar o código

Fixed ffmpeg extraction

LukePulverenti Luke Pulverenti luke pulverenti %!s(int64=13) %!d(string=hai) anos
pai
achega
81c16c305b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      MediaBrowser.Controller/Kernel.cs

+ 2 - 2
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
         /// </summary>
-        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);
                 }
             }
         }