aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec.FFmpeg/Native/AVCodec.cs
diff options
context:
space:
mode:
authorMary-nyan <mary@mary.zone>2022-11-02 09:26:50 +0100
committerGitHub <noreply@github.com>2022-11-02 09:26:50 +0100
commit7d8e198c33b7ad283db53315129209a2bd310f23 (patch)
treec5fb9e6ab0b5d6d16070d1881bcc923228eb265a /Ryujinx.Graphics.Nvdec.FFmpeg/Native/AVCodec.cs
parent3d98e1361b2f1c3993aa7f1e9b1ac49fc5b6e512 (diff)
fix: Support FFmpeg 5.1.x for decoding (#3816)1.1.336
For some reason FFmpeg 5.1.x reverted part of the changes made in 5.0.x on AVCodec. This fix decoding issues with it.
Diffstat (limited to 'Ryujinx.Graphics.Nvdec.FFmpeg/Native/AVCodec.cs')
-rw-r--r--Ryujinx.Graphics.Nvdec.FFmpeg/Native/AVCodec.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Nvdec.FFmpeg/Native/AVCodec.cs b/Ryujinx.Graphics.Nvdec.FFmpeg/Native/AVCodec.cs
index 93edb788..46d3ad61 100644
--- a/Ryujinx.Graphics.Nvdec.FFmpeg/Native/AVCodec.cs
+++ b/Ryujinx.Graphics.Nvdec.FFmpeg/Native/AVCodec.cs
@@ -20,6 +20,7 @@ namespace Ryujinx.Graphics.Nvdec.FFmpeg.Native
public unsafe IntPtr PrivClass;
public IntPtr Profiles;
public unsafe byte* WrapperName;
+ public IntPtr ChLayouts;
#pragma warning restore CS0649
}
}