summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-27 07:26:17 +0100
committerLioncash <mathew1800@gmail.com>2020-10-27 07:26:17 +0100
commit00decfbb073311c04a247c3cd0a08d5307d4a2e3 (patch)
treecb2d64f078b4bc812de19334aa1b4fd9eb441d2c
parentvp9: Join declarations with assignments (diff)
downloadyuzu-00decfbb073311c04a247c3cd0a08d5307d4a2e3.tar
yuzu-00decfbb073311c04a247c3cd0a08d5307d4a2e3.tar.gz
yuzu-00decfbb073311c04a247c3cd0a08d5307d4a2e3.tar.bz2
yuzu-00decfbb073311c04a247c3cd0a08d5307d4a2e3.tar.lz
yuzu-00decfbb073311c04a247c3cd0a08d5307d4a2e3.tar.xz
yuzu-00decfbb073311c04a247c3cd0a08d5307d4a2e3.tar.zst
yuzu-00decfbb073311c04a247c3cd0a08d5307d4a2e3.zip
-rw-r--r--src/video_core/command_classes/codecs/vp9.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/video_core/command_classes/codecs/vp9.cpp b/src/video_core/command_classes/codecs/vp9.cpp
index 380180975..2a3bdb7e7 100644
--- a/src/video_core/command_classes/codecs/vp9.cpp
+++ b/src/video_core/command_classes/codecs/vp9.cpp
@@ -634,12 +634,6 @@ std::vector<u8> VP9::ComposeCompressedHeader() {
writer.End();
return writer.GetBuffer();
-
- const auto writer_bytearray = writer.GetBuffer();
-
- std::vector<u8> compressed_header(writer_bytearray.size());
- std::memcpy(compressed_header.data(), writer_bytearray.data(), writer_bytearray.size());
- return compressed_header;
}
VpxBitStreamWriter VP9::ComposeUncompressedHeader() {