summaryrefslogtreecommitdiff
path: root/libavformat/subviewer1dec.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/subviewer1dec.c
parentd92f38c179591a608390ffa9fee59c309142e79d (diff)
downloadffmpeg-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/subviewer1dec.c')
-rw-r--r--libavformat/subviewer1dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/subviewer1dec.c b/libavformat/subviewer1dec.c
index f2eee294a1..d1ba99f984 100644
--- a/libavformat/subviewer1dec.c
+++ b/libavformat/subviewer1dec.c
@@ -113,7 +113,7 @@ static int subviewer1_read_close(AVFormatContext *s)
return 0;
}
-AVInputFormat ff_subviewer1_demuxer = {
+const AVInputFormat ff_subviewer1_demuxer = {
.name = "subviewer1",
.long_name = NULL_IF_CONFIG_SMALL("SubViewer v1 subtitle format"),
.priv_data_size = sizeof(SubViewer1Context),