diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-29 13:30:02 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-29 13:39:34 +0400 |
commit | 4a7a1b7def03051e16a3ffbbe51d41f227aea0fd (patch) | |
tree | 316321fe313a60daee14ec45c0df2b55f203723c /libavformat/spdifenc.c | |
parent | 5a43bd5e2609705ee8b834c789fe93399588ca85 (diff) |
lavf: use designated initializers for AVClasses.
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r-- | libavformat/spdifenc.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c index 35c7b162fb..fed482c973 100644 --- a/libavformat/spdifenc.c +++ b/libavformat/spdifenc.c @@ -93,7 +93,12 @@ static const AVOption options[] = { { NULL }, }; -static const AVClass class = { "spdif", av_default_item_name, options, LIBAVUTIL_VERSION_INT }; +static const AVClass class = { + .class_name = "spdif", + .item_name = av_default_item_name, + .option = options, + .version = LIBAVUTIL_VERSION_INT, +}; static int spdif_header_ac3(AVFormatContext *s, AVPacket *pkt) { |