mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-06 02:08:28 +02:00
Unref frames before decoding with FFMPEG (#2704)
This commit is contained in:
@@ -106,6 +106,8 @@ namespace Ryujinx.Graphics.Nvdec.H264
|
||||
|
||||
public int DecodeFrame(Surface output, ReadOnlySpan<byte> bitstream)
|
||||
{
|
||||
ffmpeg.av_frame_unref(output.Frame);
|
||||
|
||||
int result;
|
||||
int gotFrame;
|
||||
|
||||
|
Reference in New Issue
Block a user