summaryrefslogtreecommitdiff
path: root/libavcodec/aptxenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/aptxenc.c')
-rw-r--r--libavcodec/aptxenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aptxenc.c b/libavcodec/aptxenc.c
index 60de73ec28..f432a123d0 100644
--- a/libavcodec/aptxenc.c
+++ b/libavcodec/aptxenc.c
@@ -240,7 +240,7 @@ static av_cold int aptx_close(AVCodecContext *avctx)
}
#if CONFIG_APTX_ENCODER
-AVCodec ff_aptx_encoder = {
+const AVCodec ff_aptx_encoder = {
.name = "aptx",
.long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"),
.type = AVMEDIA_TYPE_AUDIO,
@@ -259,7 +259,7 @@ AVCodec ff_aptx_encoder = {
#endif
#if CONFIG_APTX_HD_ENCODER
-AVCodec ff_aptx_hd_encoder = {
+const AVCodec ff_aptx_hd_encoder = {
.name = "aptx_hd",
.long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"),
.type = AVMEDIA_TYPE_AUDIO,