general: Use ScratchBuffer where possible
This commit is contained in:
1 parent
fbd85417ff
commit
310b6cf4af
14 files changed
+81
-64
No files matched your search
@@ -290,7 +290,7 @@ void Codec::Decode() {
|
||||
return vp9_decoder->GetFrameBytes();
|
||||
default:
|
||||
ASSERT(false);
|
||||
return std::vector<u8>{};
|
||||
return std::span<const u8>{};
|
||||
}
|
||||
}();
|
||||
AVPacketPtr packet{av_packet_alloc(), AVPacketDeleter};
|
||||
|
||||
Reference in new issue
Block a user