summaryrefslogtreecommitdiff
path: root/libavformat/mpegtsenc.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/mpegtsenc.c
parent13220b1856c98d83ad8ac237e789927cce0b9413 (diff)
lavf: use designated initializers for AVClasses.
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r--libavformat/mpegtsenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 8fa8a56c90..2aa9698651 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -89,10 +89,10 @@ static const AVOption options[] = {
};
static const AVClass mpegts_muxer_class = {
- "MPEGTS muxer",
- av_default_item_name,
- options,
- LIBAVUTIL_VERSION_INT,
+ .class_name = "MPEGTS muxer",
+ .item_name = av_default_item_name,
+ .option = options,
+ .version = LIBAVUTIL_VERSION_INT,
};
/* NOTE: 4 bytes must be left at the end for the crc32 */