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/oggenc.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/oggenc.c')
-rw-r--r-- | libavformat/oggenc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index f5032759a6..af27957c75 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -745,7 +745,7 @@ static void ogg_free(AVFormatContext *s) #if CONFIG_OGG_MUXER OGG_CLASS(ogg, Ogg) -AVOutputFormat ff_ogg_muxer = { +const AVOutputFormat ff_ogg_muxer = { .name = "ogg", .long_name = NULL_IF_CONFIG_SMALL("Ogg"), .mime_type = "application/ogg", @@ -776,7 +776,7 @@ AVOutputFormat ff_ogg_muxer = { #if CONFIG_OGA_MUXER OGG_CLASS(oga, Ogg audio) -AVOutputFormat ff_oga_muxer = { +const AVOutputFormat ff_oga_muxer = { .name = "oga", .long_name = NULL_IF_CONFIG_SMALL("Ogg Audio"), .mime_type = "audio/ogg", @@ -795,7 +795,7 @@ AVOutputFormat ff_oga_muxer = { #if CONFIG_OGV_MUXER OGG_CLASS(ogv, Ogg video) -AVOutputFormat ff_ogv_muxer = { +const AVOutputFormat ff_ogv_muxer = { .name = "ogv", .long_name = NULL_IF_CONFIG_SMALL("Ogg Video"), .mime_type = "video/ogg", @@ -817,7 +817,7 @@ AVOutputFormat ff_ogv_muxer = { #if CONFIG_SPX_MUXER OGG_CLASS(spx, Ogg Speex) -AVOutputFormat ff_spx_muxer = { +const AVOutputFormat ff_spx_muxer = { .name = "spx", .long_name = NULL_IF_CONFIG_SMALL("Ogg Speex"), .mime_type = "audio/ogg", @@ -836,7 +836,7 @@ AVOutputFormat ff_spx_muxer = { #if CONFIG_OPUS_MUXER OGG_CLASS(opus, Ogg Opus) -AVOutputFormat ff_opus_muxer = { +const AVOutputFormat ff_opus_muxer = { .name = "opus", .long_name = NULL_IF_CONFIG_SMALL("Ogg Opus"), .mime_type = "audio/ogg", |