]> git.sesse.net Git - ffmpeg/blobdiff - libavdevice/vfwcap.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavdevice / vfwcap.c
index e5ecf84c24e55e4a3a412fc3923060e92e67fa6d..53e11f306f3ca07d0442eb8dba4ebfd730138767 100644 (file)
@@ -471,13 +471,12 @@ static const AVClass vfw_class = {
 };
 
 AVInputFormat ff_vfwcap_demuxer = {
-    "vfwcap",
-    NULL_IF_CONFIG_SMALL("VFW video capture"),
-    sizeof(struct vfw_ctx),
-    NULL,
-    vfw_read_header,
-    vfw_read_packet,
-    vfw_read_close,
-    .flags = AVFMT_NOFILE,
-    .priv_class = &vfw_class,
+    .name           = "vfwcap",
+    .long_name      = NULL_IF_CONFIG_SMALL("VfW video capture"),
+    .priv_data_size = sizeof(struct vfw_ctx),
+    .read_header    = vfw_read_header,
+    .read_packet    = vfw_read_packet,
+    .read_close     = vfw_read_close,
+    .flags          = AVFMT_NOFILE,
+    .priv_class     = &vfw_class,
 };