diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-19 19:45:24 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 11:48:06 -0300 |
commit | bc70684e74a185d7b80c8b80bdedda659cb581b8 (patch) | |
tree | 2be0c484f566fa11c97e3b51b99353c8d2647ea5 /libavformat/mxfenc.c | |
parent | d92f38c179591a608390ffa9fee59c309142e79d (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/mxfenc.c')
-rw-r--r-- | libavformat/mxfenc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 7a16bf9155..5ec619675b 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -61,8 +61,8 @@ #include "mxf.h" #include "config.h" -extern AVOutputFormat ff_mxf_d10_muxer; -extern AVOutputFormat ff_mxf_opatom_muxer; +extern const AVOutputFormat ff_mxf_d10_muxer; +extern const AVOutputFormat ff_mxf_opatom_muxer; #define EDIT_UNITS_PER_BODY 250 #define KAG_SIZE 512 @@ -3239,7 +3239,7 @@ static const AVClass mxf_opatom_muxer_class = { .version = LIBAVUTIL_VERSION_INT, }; -AVOutputFormat ff_mxf_muxer = { +const AVOutputFormat ff_mxf_muxer = { .name = "mxf", .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format)"), .mime_type = "application/mxf", @@ -3256,7 +3256,7 @@ AVOutputFormat ff_mxf_muxer = { .priv_class = &mxf_muxer_class, }; -AVOutputFormat ff_mxf_d10_muxer = { +const AVOutputFormat ff_mxf_d10_muxer = { .name = "mxf_d10", .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format) D-10 Mapping"), .mime_type = "application/mxf", @@ -3272,7 +3272,7 @@ AVOutputFormat ff_mxf_d10_muxer = { .priv_class = &mxf_d10_muxer_class, }; -AVOutputFormat ff_mxf_opatom_muxer = { +const AVOutputFormat ff_mxf_opatom_muxer = { .name = "mxf_opatom", .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format) Operational Pattern Atom"), .mime_type = "application/mxf", |