[FFmpeg-cvslog] mov: 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:57:06 2012 +0000| [ef8bea9107f996a6552747cf8136e6d1b8f9396d] | committer: Paul B Mahol
mov: 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=ef8bea9107f996a6552747cf8136e6d1b8f9396d
---
libavformat/mov.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 5eeb357..9548f21 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -3152,8 +3152,13 @@ static const AVOption options[] = {
0, 1, AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_DECODING_PARAM},
{NULL}
};
-static const AVClass class = {"mov,mp4,m4a,3gp,3g2,mj2", av_default_item_name, options, LIBAVUTIL_VERSION_INT};
+static const AVClass class = {
+ .class_name = "mov,mp4,m4a,3gp,3g2,mj2",
+ .item_name = av_default_item_name,
+ .option = options,
+ .version = LIBAVUTIL_VERSION_INT,
+};
AVInputFormat ff_mov_demuxer = {
.name = "mov,mp4,m4a,3gp,3g2,mj2",
More information about the ffmpeg-cvslog
mailing list