aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/command_classes/vic.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-03 23:21:12 -0800
committerGitHub <noreply@github.com>2020-12-03 23:21:12 -0800
commit495f5b7583bb4fcd6694d4b17d8aeec341fe0f2d (patch)
tree98318abc06dcaa2001722b78ff900e36d5190ad7 /src/video_core/command_classes/vic.cpp
parentc1f4f013fe06ffcddd9c909b54c2a1e87faf933e (diff)
parent92a5b7b388fcb837d9701ce9639c9fc4fc78422b (diff)
Merge pull request #5061 from lioncash/pessimizing
vp9/vic: Resolve pessimizing moves
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 2484430279..6cfc193fa9 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;