summaryrefslogtreecommitdiff
path: root/libavformat/spdifenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-29 11:30:02 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-17 23:01:42 +0200
commitf0029cbcf68d77f4ea0ea0cc36596ea2a5305b13 (patch)
tree639e57fc963fe245eca07ec29843bdfc839a2ada /libavformat/spdifenc.c
parent13220b1856c98d83ad8ac237e789927cce0b9413 (diff)
lavf: use designated initializers for AVClasses.
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r--libavformat/spdifenc.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index 24c2f15754..735546096f 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)
{