diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-06-24 21:58:23 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-06-30 21:49:59 -0400 |
| commit | 310b6cf4af940fa07666400426bbcca815c5375c (patch) | |
| tree | d3de4ddab952c5404be38035ece48773c0be41ac /src/video_core/host1x/codecs/vp8.cpp | |
| parent | fbd85417ffdfe23dd4b4d3d13518244bd00be361 (diff) | |
general: Use ScratchBuffer where possible
Diffstat (limited to 'src/video_core/host1x/codecs/vp8.cpp')
| -rw-r--r-- | src/video_core/host1x/codecs/vp8.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/host1x/codecs/vp8.cpp b/src/video_core/host1x/codecs/vp8.cpp index 28fb12cb8..ee6392ff9 100644 --- a/src/video_core/host1x/codecs/vp8.cpp +++ b/src/video_core/host1x/codecs/vp8.cpp @@ -12,7 +12,7 @@ VP8::VP8(Host1x::Host1x& host1x_) : host1x{host1x_} {} VP8::~VP8() = default; -const std::vector<u8>& VP8::ComposeFrame(const Host1x::NvdecCommon::NvdecRegisters& state) { +std::span<const u8> VP8::ComposeFrame(const Host1x::NvdecCommon::NvdecRegisters& state) { VP8PictureInfo info; host1x.MemoryManager().ReadBlock(state.picture_info_offset, &info, sizeof(VP8PictureInfo)); |
