diff options
author | Lioncash <mathew1800@gmail.com> | 2020-10-27 07:27:29 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-10-27 07:27:31 +0100 |
commit | 6291975731f6237de3edc81a96aca87cdae01000 (patch) | |
tree | 467e2cf174fec1d3d28c3d313f5ddbce953c711d | |
parent | vp9: Remove dead code (diff) | |
download | yuzu-6291975731f6237de3edc81a96aca87cdae01000.tar yuzu-6291975731f6237de3edc81a96aca87cdae01000.tar.gz yuzu-6291975731f6237de3edc81a96aca87cdae01000.tar.bz2 yuzu-6291975731f6237de3edc81a96aca87cdae01000.tar.lz yuzu-6291975731f6237de3edc81a96aca87cdae01000.tar.xz yuzu-6291975731f6237de3edc81a96aca87cdae01000.tar.zst yuzu-6291975731f6237de3edc81a96aca87cdae01000.zip |
-rw-r--r-- | src/video_core/command_classes/codecs/vp9.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_classes/codecs/vp9.cpp b/src/video_core/command_classes/codecs/vp9.cpp index 2a3bdb7e7..bcbea9c05 100644 --- a/src/video_core/command_classes/codecs/vp9.cpp +++ b/src/video_core/command_classes/codecs/vp9.cpp @@ -853,7 +853,7 @@ std::vector<u8>& VP9::ComposeFrameHeader(NvdecCommon::NvdecRegisters& state) { { Vp9FrameContainer curr_frame = GetCurrentFrame(state); current_frame_info = curr_frame.info; - bitstream = curr_frame.bit_stream; + bitstream = std::move(curr_frame.bit_stream); } // The uncompressed header routine sets PrevProb parameters needed for the compressed header |