summaryrefslogtreecommitdiff
path: root/libavformat/matroskaenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 19:45:24 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:06 -0300
commitbc70684e74a185d7b80c8b80bdedda659cb581b8 (patch)
tree2be0c484f566fa11c97e3b51b99353c8d2647ea5 /libavformat/matroskaenc.c
parentd92f38c179591a608390ffa9fee59c309142e79d (diff)
avformat: Constify all muxer/demuxers
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/matroskaenc.c')
-rw-r--r--libavformat/matroskaenc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 5ac4db458b..186a25d920 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -2837,7 +2837,7 @@ static const AVClass matroska_class = {
.version = LIBAVUTIL_VERSION_INT,
};
-AVOutputFormat ff_matroska_muxer = {
+const AVOutputFormat ff_matroska_muxer = {
.name = "matroska",
.long_name = NULL_IF_CONFIG_SMALL("Matroska"),
.mime_type = "video/x-matroska",
@@ -2873,7 +2873,7 @@ static const AVClass webm_class = {
.version = LIBAVUTIL_VERSION_INT,
};
-AVOutputFormat ff_webm_muxer = {
+const AVOutputFormat ff_webm_muxer = {
.name = "webm",
.long_name = NULL_IF_CONFIG_SMALL("WebM"),
.mime_type = "video/webm",
@@ -2902,7 +2902,7 @@ static const AVClass mka_class = {
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
-AVOutputFormat ff_matroska_audio_muxer = {
+const AVOutputFormat ff_matroska_audio_muxer = {
.name = "matroska",
.long_name = NULL_IF_CONFIG_SMALL("Matroska Audio"),
.mime_type = "audio/x-matroska",