dshow: fix AVInputFormat declaration after ABI breakage
authorRamiro Polla <ramiro.polla@gmail.com>
Fri, 3 Feb 2012 16:50:19 +0000 (14:50 -0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Feb 2012 17:11:55 +0000 (18:11 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/dshow.c

index dd1b29b..2704834 100644 (file)
@@ -961,13 +961,12 @@ static const AVClass dshow_class = {
 };
 
 AVInputFormat ff_dshow_demuxer = {
-    "dshow",
-    NULL_IF_CONFIG_SMALL("DirectShow capture"),
-    sizeof(struct dshow_ctx),
-    NULL,
-    dshow_read_header,
-    dshow_read_packet,
-    dshow_read_close,
-    .flags = AVFMT_NOFILE,
-    .priv_class = &dshow_class,
+    .name           = "dshow",
+    .long_name      = NULL_IF_CONFIG_SMALL("DirectShow capture"),
+    .priv_data_size = sizeof(struct dshow_ctx),
+    .read_header    = dshow_read_header,
+    .read_packet    = dshow_read_packet,
+    .read_close     = dshow_read_close,
+    .flags          = AVFMT_NOFILE,
+    .priv_class     = &dshow_class,
 };