summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMai M <mathew1800@gmail.com>2022-01-20 19:56:32 +0100
committerGitHub <noreply@github.com>2022-01-20 19:56:32 +0100
commit55ef89a9c70d8f817d8eae9a438f1d85aa31397f (patch)
tree69c38fef90a7e1d8921eda560e60842c2e6c6d4f
parentMerge pull request #7726 from german77/clamp (diff)
parentvideo_core: constify AVCodec for ffmpeg >= 5.0 (diff)
downloadyuzu-55ef89a9c70d8f817d8eae9a438f1d85aa31397f.tar
yuzu-55ef89a9c70d8f817d8eae9a438f1d85aa31397f.tar.gz
yuzu-55ef89a9c70d8f817d8eae9a438f1d85aa31397f.tar.bz2
yuzu-55ef89a9c70d8f817d8eae9a438f1d85aa31397f.tar.lz
yuzu-55ef89a9c70d8f817d8eae9a438f1d85aa31397f.tar.xz
yuzu-55ef89a9c70d8f817d8eae9a438f1d85aa31397f.tar.zst
yuzu-55ef89a9c70d8f817d8eae9a438f1d85aa31397f.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};