From c7869ff332e7118568ab1f2fb566b24162716f2e Mon Sep 17 00:00:00 2001 From: liushuyu Date: Mon, 21 Feb 2022 00:51:17 -0700 Subject: [PATCH] audio_core/hle/ffmpeg_decoder: make avcodec const --- src/audio_core/hle/ffmpeg_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio_core/hle/ffmpeg_decoder.cpp b/src/audio_core/hle/ffmpeg_decoder.cpp index fc2a1c87c9..c9d7abe3f8 100644 --- a/src/audio_core/hle/ffmpeg_decoder.cpp +++ b/src/audio_core/hle/ffmpeg_decoder.cpp @@ -52,7 +52,7 @@ private: Memory::MemorySystem& memory; - AVCodec* codec; + const AVCodec* codec; std::unique_ptr av_context; std::unique_ptr parser; std::unique_ptr av_packet;