From 3d9d9757ce6c82d5eabd0598b4e991097645fcf6 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 9 Jun 2022 07:57:51 -0700 Subject: [PATCH] Add a const qualifier --- rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtp.c b/rtp.c index c76e17b8..f20c983f 100644 --- a/rtp.c +++ b/rtp.c @@ -2211,7 +2211,7 @@ void *rtp_buffered_audio_processor(void *arg) { // ideas and some code from https://rodic.fr/blog/libavcodec-tutorial-decode-audio-file/ // with thanks - AVCodec *codec = avcodec_find_decoder(AV_CODEC_ID_AAC); + const AVCodec *codec = avcodec_find_decoder(AV_CODEC_ID_AAC); if (codec == NULL) { debug(1, "Can't find an AAC decoder!"); }