mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 15:08:09 +08:00
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>
This commit is contained in:

committed by
James Almer

parent
a04ad248a0
commit
d92f38c179
@ -1117,7 +1117,7 @@ static const AVClass v4l2_class = {
|
||||
.category = AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT,
|
||||
};
|
||||
|
||||
AVInputFormat ff_v4l2_demuxer = {
|
||||
const AVInputFormat ff_v4l2_demuxer = {
|
||||
.name = "video4linux2,v4l2",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Video4Linux2 device grab"),
|
||||
.priv_data_size = sizeof(struct video_data),
|
||||
|
Reference in New Issue
Block a user