mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
Fixed ffmpeg extraction
This commit is contained in:
parent
ee91096eb0
commit
81c16c305b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue