]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/avfoundation.m
avdevice: Constify all devices
[ffmpeg] / libavdevice / avfoundation.m
index 59d5b0af4f43d8647e19affecee0dde56c03f4c0..bad3760159a234bcbb779183c854c7ddc59ae292 100644 (file)
@@ -1214,7 +1214,7 @@ static const AVClass avf_class = {
     .category   = AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT,
 };
 
-AVInputFormat ff_avfoundation_demuxer = {
+const AVInputFormat ff_avfoundation_demuxer = {
     .name           = "avfoundation",
     .long_name      = NULL_IF_CONFIG_SMALL("AVFoundation input device"),
     .priv_data_size = sizeof(AVFContext),