]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/v4l2enc.c
avdevice: Constify all devices
[ffmpeg] / libavdevice / v4l2enc.c
index 6e5cb8849148d59bb4d3377b6ce8776e656d91ae..787fe535472cacdeb7b20fd8746a506a99cf9947 100644 (file)
@@ -109,7 +109,7 @@ static const AVClass v4l2_class = {
     .category   = AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT,
 };
 
-AVOutputFormat ff_v4l2_muxer = {
+const AVOutputFormat ff_v4l2_muxer = {
     .name           = "video4linux2,v4l2",
     .long_name      = NULL_IF_CONFIG_SMALL("Video4Linux2 output device"),
     .priv_data_size = sizeof(V4L2Context),