aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/host1x/codecs/codec.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-06-24 21:58:23 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-06-30 21:49:59 -0400
commitb8004b247223817323e6e91438d8e29249f2e702 (patch)
treed3de4ddab952c5404be38035ece48773c0be41ac /src/video_core/host1x/codecs/codec.cpp
parentaccc43e31f5cb9e4cdf76fcee51670522ca57493 (diff)
general: Use ScratchBuffer where possible
Diffstat (limited to 'src/video_core/host1x/codecs/codec.cpp')
-rw-r--r--src/video_core/host1x/codecs/codec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/host1x/codecs/codec.cpp b/src/video_core/host1x/codecs/codec.cpp
index cd6a3a9b83..da07a556f4 100644
--- a/src/video_core/host1x/codecs/codec.cpp
+++ b/src/video_core/host1x/codecs/codec.cpp
@@ -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};