mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 17:37:45 +00:00
dshow: fix AVInputFormat declaration after ABI breakage
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d77294c5e4
commit
c9e5acad61
1 changed files with 8 additions and 9 deletions
|
@ -961,13 +961,12 @@ static const AVClass dshow_class = {
|
||||||
};
|
};
|
||||||
|
|
||||||
AVInputFormat ff_dshow_demuxer = {
|
AVInputFormat ff_dshow_demuxer = {
|
||||||
"dshow",
|
.name = "dshow",
|
||||||
NULL_IF_CONFIG_SMALL("DirectShow capture"),
|
.long_name = NULL_IF_CONFIG_SMALL("DirectShow capture"),
|
||||||
sizeof(struct dshow_ctx),
|
.priv_data_size = sizeof(struct dshow_ctx),
|
||||||
NULL,
|
.read_header = dshow_read_header,
|
||||||
dshow_read_header,
|
.read_packet = dshow_read_packet,
|
||||||
dshow_read_packet,
|
.read_close = dshow_read_close,
|
||||||
dshow_read_close,
|
.flags = AVFMT_NOFILE,
|
||||||
.flags = AVFMT_NOFILE,
|
.priv_class = &dshow_class,
|
||||||
.priv_class = &dshow_class,
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue