summaryrefslogtreecommitdiff
path: root/libavcodec/mfenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mfenc.c')
-rw-r--r--libavcodec/mfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mfenc.c b/libavcodec/mfenc.c
index d70e49351a..26f1c8057f 100644
--- a/libavcodec/mfenc.c
+++ b/libavcodec/mfenc.c
@@ -1152,7 +1152,7 @@ static int mf_close(AVCodecContext *avctx)
.option = OPTS, \
.version = LIBAVUTIL_VERSION_INT, \
}; \
- AVCodec ff_ ## NAME ## _mf_encoder = { \
+ const AVCodec ff_ ## NAME ## _mf_encoder = { \
.priv_class = &ff_ ## NAME ## _mf_encoder_class, \
.name = #NAME "_mf", \
.long_name = NULL_IF_CONFIG_SMALL(#ID " via MediaFoundation"), \