diff options
author | Lioncash <mathew1800@gmail.com> | 2020-12-03 18:33:05 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-03 18:33:07 +0100 |
commit | cf9767c608dfb49b77708966d8d07354930d150c (patch) | |
tree | b1f11131c8b690208749cea1980288cd21825179 /src/video_core/command_classes/vic.cpp | |
parent | Merge pull request #5000 from lioncash/audio-error (diff) | |
download | yuzu-cf9767c608dfb49b77708966d8d07354930d150c.tar yuzu-cf9767c608dfb49b77708966d8d07354930d150c.tar.gz yuzu-cf9767c608dfb49b77708966d8d07354930d150c.tar.bz2 yuzu-cf9767c608dfb49b77708966d8d07354930d150c.tar.lz yuzu-cf9767c608dfb49b77708966d8d07354930d150c.tar.xz yuzu-cf9767c608dfb49b77708966d8d07354930d150c.tar.zst yuzu-cf9767c608dfb49b77708966d8d07354930d150c.zip |
Diffstat (limited to 'src/video_core/command_classes/vic.cpp')
-rw-r--r-- | src/video_core/command_classes/vic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_classes/vic.cpp b/src/video_core/command_classes/vic.cpp index 248443027..6cfc193fa 100644 --- a/src/video_core/command_classes/vic.cpp +++ b/src/video_core/command_classes/vic.cpp @@ -58,7 +58,7 @@ void Vic::Execute() { return; } const VicConfig config{gpu.MemoryManager().Read<u64>(config_struct_address + 0x20)}; - const AVFramePtr frame_ptr = std::move(nvdec_processor->GetFrame()); + const AVFramePtr frame_ptr = nvdec_processor->GetFrame(); const auto* frame = frame_ptr.get(); if (!frame || frame->width == 0 || frame->height == 0) { return; |