mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-03-23 18:09:35 -04:00
general: Use ScratchBuffer where possible
This commit is contained in:
@@ -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