summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-19 13:57:06 +0000
committerPaul B Mahol <onemda@gmail.com>2012-06-19 13:57:06 +0000
commitef8bea9107f996a6552747cf8136e6d1b8f9396d (patch)
tree20397ba191ac1bf670579e2e54f2a2b4bec2c70e /libavformat/mov.c
parentc47fc942d4ae3960118a2f0de81dddda077d271c (diff)
mov: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 5eeb3571f5..9548f215f3 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",