diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-04 08:21:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 08:21:12 +0100 |
commit | defa826c53b0cff55f1cc3292526c6b58dbd727c (patch) | |
tree | 98318abc06dcaa2001722b78ff900e36d5190ad7 /src/video_core/command_classes/vic.cpp | |
parent | Merge pull request #4996 from bunnei/use-4jits (diff) | |
parent | vp9/vic: Resolve pessimizing moves (diff) | |
download | yuzu-defa826c53b0cff55f1cc3292526c6b58dbd727c.tar yuzu-defa826c53b0cff55f1cc3292526c6b58dbd727c.tar.gz yuzu-defa826c53b0cff55f1cc3292526c6b58dbd727c.tar.bz2 yuzu-defa826c53b0cff55f1cc3292526c6b58dbd727c.tar.lz yuzu-defa826c53b0cff55f1cc3292526c6b58dbd727c.tar.xz yuzu-defa826c53b0cff55f1cc3292526c6b58dbd727c.tar.zst yuzu-defa826c53b0cff55f1cc3292526c6b58dbd727c.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; |