diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-19 13:57:06 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-19 13:57:06 +0000 |
commit | ef8bea9107f996a6552747cf8136e6d1b8f9396d (patch) | |
tree | 20397ba191ac1bf670579e2e54f2a2b4bec2c70e /libavformat | |
parent | c47fc942d4ae3960118a2f0de81dddda077d271c (diff) | |
download | ffmpeg-ef8bea9107f996a6552747cf8136e6d1b8f9396d.tar.gz |
mov: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 7 |
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", |