summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-01-20 12:09:17 +0100
committerJan Beich <jbeich@FreeBSD.org>2022-01-20 12:09:21 +0100
commitd24a4b79d4cf7719c7c84c42d071671999e621d5 (patch)
tree69c38fef90a7e1d8921eda560e60842c2e6c6d4f
parentMerge pull request #7726 from german77/clamp (diff)
downloadyuzu-d24a4b79d4cf7719c7c84c42d071671999e621d5.tar
yuzu-d24a4b79d4cf7719c7c84c42d071671999e621d5.tar.gz
yuzu-d24a4b79d4cf7719c7c84c42d071671999e621d5.tar.bz2
yuzu-d24a4b79d4cf7719c7c84c42d071671999e621d5.tar.lz
yuzu-d24a4b79d4cf7719c7c84c42d071671999e621d5.tar.xz
yuzu-d24a4b79d4cf7719c7c84c42d071671999e621d5.tar.zst
yuzu-d24a4b79d4cf7719c7c84c42d071671999e621d5.zip
-rw-r--r--src/video_core/command_classes/codecs/codec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_classes/codecs/codec.h b/src/video_core/command_classes/codecs/codec.h
index 13ed88382..de5672155 100644
--- a/src/video_core/command_classes/codecs/codec.h
+++ b/src/video_core/command_classes/codecs/codec.h
@@ -66,7 +66,7 @@ private:
bool initialized{};
NvdecCommon::VideoCodec current_codec{NvdecCommon::VideoCodec::None};
- AVCodec* av_codec{nullptr};
+ const AVCodec* av_codec{nullptr};
AVCodecContext* av_codec_ctx{nullptr};
AVBufferRef* av_gpu_decoder{nullptr};