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/bintext.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/bintext.c')
-rw-r--r-- | libavformat/bintext.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/bintext.c b/libavformat/bintext.c index bc0f6bd099..1270c7fb2c 100644 --- a/libavformat/bintext.c +++ b/libavformat/bintext.c @@ -394,7 +394,7 @@ static const AVOption options[] = { }} #if CONFIG_BINTEXT_DEMUXER -AVInputFormat ff_bintext_demuxer = { +const AVInputFormat ff_bintext_demuxer = { .name = "bin", .long_name = NULL_IF_CONFIG_SMALL("Binary text"), .priv_data_size = sizeof(BinDemuxContext), @@ -406,7 +406,7 @@ AVInputFormat ff_bintext_demuxer = { #endif #if CONFIG_XBIN_DEMUXER -AVInputFormat ff_xbin_demuxer = { +const AVInputFormat ff_xbin_demuxer = { .name = "xbin", .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text (XBIN)"), .priv_data_size = sizeof(BinDemuxContext), @@ -418,7 +418,7 @@ AVInputFormat ff_xbin_demuxer = { #endif #if CONFIG_ADF_DEMUXER -AVInputFormat ff_adf_demuxer = { +const AVInputFormat ff_adf_demuxer = { .name = "adf", .long_name = NULL_IF_CONFIG_SMALL("Artworx Data Format"), .priv_data_size = sizeof(BinDemuxContext), @@ -430,7 +430,7 @@ AVInputFormat ff_adf_demuxer = { #endif #if CONFIG_IDF_DEMUXER -AVInputFormat ff_idf_demuxer = { +const AVInputFormat ff_idf_demuxer = { .name = "idf", .long_name = NULL_IF_CONFIG_SMALL("iCE Draw File"), .priv_data_size = sizeof(BinDemuxContext), |