summaryrefslogtreecommitdiff
path: root/libavformat/pcmdec.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/pcmdec.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/pcmdec.c')
-rw-r--r--libavformat/pcmdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c
index 9b552936ac..01447c2b7e 100644
--- a/libavformat/pcmdec.c
+++ b/libavformat/pcmdec.c
@@ -108,7 +108,7 @@ static const AVClass name_ ## _demuxer_class = { \
.option = pcm_options, \
.version = LIBAVUTIL_VERSION_INT, \
}; \
-AVInputFormat ff_pcm_ ## name_ ## _demuxer = { \
+const AVInputFormat ff_pcm_ ## name_ ## _demuxer = { \
.name = #name_, \
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
.priv_data_size = sizeof(PCMAudioDemuxerContext), \
@@ -168,7 +168,7 @@ static const AVClass sln_demuxer_class = {
.version = LIBAVUTIL_VERSION_INT,
};
-AVInputFormat ff_sln_demuxer = {
+const AVInputFormat ff_sln_demuxer = {
.name = "sln",
.long_name = NULL_IF_CONFIG_SMALL("Asterisk raw pcm"),
.priv_data_size = sizeof(PCMAudioDemuxerContext),