mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-30 14:40:04 +02:00
misc: chore: Fix numerous NullReferenceExceptions, InvalidOperationExceptions
This commit is contained in:
@@ -91,7 +91,7 @@ namespace Ryujinx.Graphics.Nvdec.FFmpeg
|
||||
|
||||
FFmpegApi.av_log_format_line(ptr, level, format, vl, lineBuffer, lineSize, &printPrefix);
|
||||
|
||||
string line = Marshal.PtrToStringAnsi((IntPtr)lineBuffer).Trim();
|
||||
string line = Marshal.PtrToStringAnsi((IntPtr)lineBuffer)?.Trim();
|
||||
|
||||
switch (level)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user