mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-09 02:41:45 +00:00
rollback
This commit is contained in:
parent
e4650b7ee2
commit
83d6e4118b
1 changed files with 6 additions and 3 deletions
|
@ -16,8 +16,6 @@ namespace Ryujinx.Graphics.Nvdec.H264
|
|||
|
||||
public FFmpegContext()
|
||||
{
|
||||
SetRootPath();
|
||||
|
||||
_logFunc = Log;
|
||||
|
||||
// Redirect log output
|
||||
|
@ -32,7 +30,12 @@ namespace Ryujinx.Graphics.Nvdec.H264
|
|||
_packet = ffmpeg.av_packet_alloc();
|
||||
}
|
||||
|
||||
private void SetRootPath()
|
||||
static FFmpegContext()
|
||||
{
|
||||
SetRootPath();
|
||||
}
|
||||
|
||||
private static void SetRootPath()
|
||||
{
|
||||
if (OperatingSystem.IsLinux())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue