summaryrefslogtreecommitdiff
path: root/libavdevice/libdc1394.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 18:56:01 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:05 -0300
commitd92f38c179591a608390ffa9fee59c309142e79d (patch)
tree5a19f61c32bc9010b0ed319a8ef625aa41f87ba9 /libavdevice/libdc1394.c
parenta04ad248a05e7b613abe09b3bb067f555108d794 (diff)
avdevice: Constify all devices
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 'libavdevice/libdc1394.c')
-rw-r--r--libavdevice/libdc1394.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
index 003335fdd8..e98b88c1a2 100644
--- a/libavdevice/libdc1394.c
+++ b/libavdevice/libdc1394.c
@@ -288,7 +288,7 @@ static int dc1394_close(AVFormatContext * context)
return 0;
}
-AVInputFormat ff_libdc1394_demuxer = {
+const AVInputFormat ff_libdc1394_demuxer = {
.name = "libdc1394",
.long_name = NULL_IF_CONFIG_SMALL("dc1394 v.2 A/V grab"),
.priv_data_size = sizeof(struct dc1394_data),