vp9: Remove dead code

This commit is contained in:
Lioncash 2020-10-27 02:26:17 -04:00
parent 111802bbbb
commit 00decfbb07

View file

@ -634,12 +634,6 @@ std::vector<u8> VP9::ComposeCompressedHeader() {
writer.End(); writer.End();
return writer.GetBuffer(); 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() { VpxBitStreamWriter VP9::ComposeUncompressedHeader() {