summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/vic.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-04 08:21:12 +0100
committerGitHub <noreply@github.com>2020-12-04 08:21:12 +0100
commitdefa826c53b0cff55f1cc3292526c6b58dbd727c (patch)
tree98318abc06dcaa2001722b78ff900e36d5190ad7 /src/video_core/command_classes/vic.cpp
parentMerge pull request #4996 from bunnei/use-4jits (diff)
parentvp9/vic: Resolve pessimizing moves (diff)
downloadyuzu-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.cpp2
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;