Fixed ffmpeg extraction
This commit is contained in:
parent
ee91096eb0
commit
81c16c305b
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user