[FFmpeg-cvslog] oggdec: use explicit AVInputFormat struct initializers
Clément Bœsch
git at videolan.org
Fri May 13 04:45:57 CEST 2011
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed May 11 20:43:31 2011 +0200| [b3bbc6fdc588ff03d9d1d2f17ef6608cf1cfff90] | committer: Diego Biurrun
oggdec: use explicit AVInputFormat struct initializers
Signed-off-by: Diego Biurrun <diego at biurrun.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b3bbc6fdc588ff03d9d1d2f17ef6608cf1cfff90
---
libavformat/oggdec.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index bbd299d..f9aeee7 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -648,15 +648,15 @@ static int ogg_probe(AVProbeData *p)
}
AVInputFormat ff_ogg_demuxer = {
- "ogg",
- NULL_IF_CONFIG_SMALL("Ogg"),
- sizeof (struct ogg),
- ogg_probe,
- ogg_read_header,
- ogg_read_packet,
- ogg_read_close,
- ogg_read_seek,
- ogg_read_timestamp,
- .extensions = "ogg",
- .flags = AVFMT_GENERIC_INDEX,
+ .name = "ogg",
+ .long_name = NULL_IF_CONFIG_SMALL("Ogg"),
+ .priv_data_size = sizeof(struct ogg),
+ .read_probe = ogg_probe,
+ .read_header = ogg_read_header,
+ .read_packet = ogg_read_packet,
+ .read_close = ogg_read_close,
+ .read_seek = ogg_read_seek,
+ .read_timestamp = ogg_read_timestamp,
+ .extensions = "ogg",
+ .flags = AVFMT_GENERIC_INDEX,
};
More information about the ffmpeg-cvslog
mailing list