]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/dshow.c
avdevice: Constify all devices
[ffmpeg] / libavdevice / dshow.c
index 3f1e9f61d237ec279e7a607796e5d6c4e7089bbc..8d0a6fcc09371413da14854accb73b5354150007 100644 (file)
@@ -1328,7 +1328,7 @@ static const AVClass dshow_class = {
     .category   = AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT,
 };
 
-AVInputFormat ff_dshow_demuxer = {
+const AVInputFormat ff_dshow_demuxer = {
     .name           = "dshow",
     .long_name      = NULL_IF_CONFIG_SMALL("DirectShow capture"),
     .priv_data_size = sizeof(struct dshow_ctx),