[FFmpeg-cvslog] dshow: fix AVInputFormat declaration after ABI breakage

Ramiro Polla git at videolan.org
Fri Feb 3 18:59:24 CET 2012


ffmpeg | branch: master | Ramiro Polla <ramiro.polla at gmail.com> | Fri Feb  3 14:50:19 2012 -0200| [c9e5acad611c77db5f37299a4a50f15922d85a4c] | committer: Michael Niedermayer

dshow: fix AVInputFormat declaration after ABI breakage

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c9e5acad611c77db5f37299a4a50f15922d85a4c
---

 libavdevice/dshow.c |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c
index dd1b29b..2704834 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,
 };



More information about the ffmpeg-cvslog mailing list