summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/codecs/h264.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/command_classes/codecs/h264.h')
-rw-r--r--src/video_core/command_classes/codecs/h264.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/command_classes/codecs/h264.h b/src/video_core/command_classes/codecs/h264.h
index 273449495..0f3a1d9f3 100644
--- a/src/video_core/command_classes/codecs/h264.h
+++ b/src/video_core/command_classes/codecs/h264.h
@@ -74,8 +74,8 @@ public:
~H264();
/// Compose the H264 header of the frame for FFmpeg decoding
- [[nodiscard]] const std::vector<u8>& ComposeFrameHeader(NvdecCommon::NvdecRegisters& state,
- bool is_first_frame = false);
+ [[nodiscard]] const std::vector<u8>& ComposeFrameHeader(
+ const NvdecCommon::NvdecRegisters& state, bool is_first_frame = false);
private:
struct H264ParameterSet {