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>
This commit is contained in:
Andreas Rheinhardt
2021-04-19 19:45:24 +02:00
committed by James Almer
parent d92f38c179
commit bc70684e74
327 changed files with 927 additions and 927 deletions

View File

@@ -300,7 +300,7 @@ static const AVClass codec2raw_demux_class = {
};
#if CONFIG_CODEC2_DEMUXER
AVInputFormat ff_codec2_demuxer = {
const AVInputFormat ff_codec2_demuxer = {
.name = "codec2",
.long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 demuxer"),
.priv_data_size = sizeof(Codec2Context),
@@ -316,7 +316,7 @@ AVInputFormat ff_codec2_demuxer = {
#endif
#if CONFIG_CODEC2_MUXER
AVOutputFormat ff_codec2_muxer = {
const AVOutputFormat ff_codec2_muxer = {
.name = "codec2",
.long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 muxer"),
.priv_data_size = sizeof(Codec2Context),
@@ -331,7 +331,7 @@ AVOutputFormat ff_codec2_muxer = {
#endif
#if CONFIG_CODEC2RAW_DEMUXER
AVInputFormat ff_codec2raw_demuxer = {
const AVInputFormat ff_codec2raw_demuxer = {
.name = "codec2raw",
.long_name = NULL_IF_CONFIG_SMALL("raw codec2 demuxer"),
.priv_data_size = sizeof(Codec2Context),