mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 05:40:47 -07:00
revert static instance
This commit is contained in:
@ -16,6 +16,8 @@ namespace Ryujinx.Graphics.Nvdec.H264
|
|||||||
|
|
||||||
public FFmpegContext()
|
public FFmpegContext()
|
||||||
{
|
{
|
||||||
|
SetRootPath();
|
||||||
|
|
||||||
_logFunc = Log;
|
_logFunc = Log;
|
||||||
|
|
||||||
// Redirect log output
|
// Redirect log output
|
||||||
@ -30,12 +32,7 @@ namespace Ryujinx.Graphics.Nvdec.H264
|
|||||||
_packet = ffmpeg.av_packet_alloc();
|
_packet = ffmpeg.av_packet_alloc();
|
||||||
}
|
}
|
||||||
|
|
||||||
static FFmpegContext()
|
private void SetRootPath()
|
||||||
{
|
|
||||||
SetRootPath();
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void SetRootPath()
|
|
||||||
{
|
{
|
||||||
if (OperatingSystem.IsLinux())
|
if (OperatingSystem.IsLinux())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user