]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/v4l2.c
avdevice: Constify all devices
[ffmpeg] / libavdevice / v4l2.c
index a5226d5e6fd9c952de87f97193542eed895c9f68..a5149a91329a9750b37c18fec1ad95c535c1f983 100644 (file)
@@ -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),