]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/xcbgrab.c
avdevice: Constify all devices
[ffmpeg] / libavdevice / xcbgrab.c
index fbe89d472d61cff8854aad4d4684140b8bd63f31..8164101c5e55d89e048d0eced6d05db520b561b9 100644 (file)
@@ -900,7 +900,7 @@ static av_cold int xcbgrab_read_header(AVFormatContext *s)
     return 0;
 }
 
-AVInputFormat ff_xcbgrab_demuxer = {
+const AVInputFormat ff_xcbgrab_demuxer = {
     .name           = "x11grab",
     .long_name      = NULL_IF_CONFIG_SMALL("X11 screen capture, using XCB"),
     .priv_data_size = sizeof(XCBGrabContext),