mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 15:35:46 +00:00
general: Use ScratchBuffer where possible
This commit is contained in:
parent
fbd85417ff
commit
310b6cf4af
14 changed files with 81 additions and 64 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue