aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2012-02-03 14:50:19 -0200
committerMichael Niedermayer <michaelni@gmx.at>2012-02-03 18:11:55 +0100
commitc9e5acad611c77db5f37299a4a50f15922d85a4c (patch)
treee3c3b88778eca6d66d2b7aff001683ac56e6ff86 /libavdevice
parentd77294c5e404c8a214da0e74f7836390b48b2dba (diff)
downloadffmpeg-c9e5acad611c77db5f37299a4a50f15922d85a4c.tar.gz
dshow: fix AVInputFormat declaration after ABI breakage
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/dshow.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index dd1b29b2ef..27048346d1 100644
--- a/libavdevice/dshow.c
+++ b/libavdevice/dshow.c
@@ -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,
};