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