summaryrefslogtreecommitdiff
path: root/libavdevice/vfwcap.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-09-23 20:50:11 +0200
committerDiego Biurrun <diego@biurrun.de>2011-09-24 12:11:17 +0200
commit30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b (patch)
tree1280949167f244216ee5ef382be0928a1abbe4e2 /libavdevice/vfwcap.c
parent9ff6d0791b220d80844b45c9217113306a50a6cc (diff)
downloadffmpeg-30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b.tar.gz
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
Diffstat (limited to 'libavdevice/vfwcap.c')
-rw-r--r--libavdevice/vfwcap.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index 47a9ebeb9c..4faf2d937d 100644
--- a/libavdevice/vfwcap.c
+++ b/libavdevice/vfwcap.c
@@ -470,13 +470,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,
};