X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavdevice%2Fv4l2.c;h=a5149a91329a9750b37c18fec1ad95c535c1f983;hb=d92f38c179591a608390ffa9fee59c309142e79d;hp=a5226d5e6fd9c952de87f97193542eed895c9f68;hpb=a04ad248a05e7b613abe09b3bb067f555108d794;p=ffmpeg diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index a5226d5e6fd..a5149a91329 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -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),