summaryrefslogtreecommitdiff
path: root/libavformat/ilbc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 19:45:24 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:06 -0300
commitbc70684e74a185d7b80c8b80bdedda659cb581b8 (patch)
tree2be0c484f566fa11c97e3b51b99353c8d2647ea5 /libavformat/ilbc.c
parentd92f38c179591a608390ffa9fee59c309142e79d (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/ilbc.c')
-rw-r--r--libavformat/ilbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ilbc.c b/libavformat/ilbc.c
index 188c0f091a..efa5339089 100644
--- a/libavformat/ilbc.c
+++ b/libavformat/ilbc.c
@@ -112,7 +112,7 @@ static int ilbc_read_packet(AVFormatContext *s,
return 0;
}
-AVInputFormat ff_ilbc_demuxer = {
+const AVInputFormat ff_ilbc_demuxer = {
.name = "ilbc",
.long_name = NULL_IF_CONFIG_SMALL("iLBC storage"),
.read_probe = ilbc_probe,
@@ -122,7 +122,7 @@ AVInputFormat ff_ilbc_demuxer = {
};
#if CONFIG_ILBC_MUXER
-AVOutputFormat ff_ilbc_muxer = {
+const AVOutputFormat ff_ilbc_muxer = {
.name = "ilbc",
.long_name = NULL_IF_CONFIG_SMALL("iLBC storage"),
.mime_type = "audio/iLBC",