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/codec2.c | |
parent | d92f38c179591a608390ffa9fee59c309142e79d (diff) | |
download | ffmpeg-bc70684e74a185d7b80c8b80bdedda659cb581b8.tar.gz |
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/codec2.c')
-rw-r--r-- | libavformat/codec2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/codec2.c b/libavformat/codec2.c index 0c2ad3aa01..ce249d4470 100644 --- a/libavformat/codec2.c +++ b/libavformat/codec2.c @@ -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), |