diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-13 01:28:21 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-13 01:49:45 +0100 |
commit | b39b33b1fe1a396bb2f9841d48a1cb45cbfde806 (patch) | |
tree | 75517c706c67c3329c0cd6436a2a6397f3dddf24 /src/video_core/command_classes/codecs/vp9.cpp | |
parent | Merge pull request #7320 from OatmealDome/homebrew-capabilities (diff) | |
download | yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.gz yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.bz2 yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.lz yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.xz yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.zst yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.zip |
Diffstat (limited to 'src/video_core/command_classes/codecs/vp9.cpp')
-rw-r--r-- | src/video_core/command_classes/codecs/vp9.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/command_classes/codecs/vp9.cpp b/src/video_core/command_classes/codecs/vp9.cpp index d7e749485..269adc3f1 100644 --- a/src/video_core/command_classes/codecs/vp9.cpp +++ b/src/video_core/command_classes/codecs/vp9.cpp @@ -770,7 +770,7 @@ VpxBitStreamWriter VP9::ComposeUncompressedHeader() { return uncomp_writer; } -const std::vector<u8>& VP9::ComposeFrameHeader(const NvdecCommon::NvdecRegisters& state) { +void VP9::ComposeFrameHeader(const NvdecCommon::NvdecRegisters& state) { std::vector<u8> bitstream; { Vp9FrameContainer curr_frame = GetCurrentFrame(state); @@ -792,7 +792,6 @@ const std::vector<u8>& VP9::ComposeFrameHeader(const NvdecCommon::NvdecRegisters frame.begin() + uncompressed_header.size()); std::copy(bitstream.begin(), bitstream.end(), frame.begin() + uncompressed_header.size() + compressed_header.size()); - return frame; } VpxRangeEncoder::VpxRangeEncoder() { |