Add a const qualifier

This commit is contained in:
Mike Brady
2022-06-09 07:57:51 -07:00
parent ea4eafbfed
commit 3d9d9757ce
+1 -1
View File
@@ -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!");
}