[FFmpeg-cvslog] avidec: use designated initializers for AVClass
Paul B Mahol
git at videolan.org
Tue Jun 19 16:13:36 CEST 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jun 19 13:59:17 2012 +0000| [7238ed6c84b0a02aaf7cee2b139c74a705625d3d] | committer: Paul B Mahol
avidec: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7238ed6c84b0a02aaf7cee2b139c74a705625d3d
---
libavformat/avidec.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index fea0694..2ad902a 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -84,10 +84,10 @@ static const AVOption options[] = {
};
static const AVClass demuxer_class = {
- "AVI demuxer",
- av_default_item_name,
- options,
- LIBAVUTIL_VERSION_INT,
+ .class_name = "AVI demuxer",
+ .item_name = av_default_item_name,
+ .option = options,
+ .version = LIBAVUTIL_VERSION_INT,
};
More information about the ffmpeg-cvslog
mailing list