Browse Source

dshow: fix AVInputFormat declaration after ABI breakage

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Ramiro Polla Michael Niedermayer 13 years ago
parent
commit
c9e5acad61
1 changed files with 8 additions and 9 deletions
  1. +8
    -9
      libavdevice/dshow.c

+ 8
- 9
libavdevice/dshow.c View 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,
};

Loading…
Cancel
Save