summaryrefslogtreecommitdiffstats
path: root/libavcodec/flacenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-06-10 16:45:06 +0200
committerDiego Biurrun <diego@biurrun.de>2017-06-12 11:01:10 +0200
commit97cfe1d8bd1968143e2ba9aa46ebe9504a835e24 (patch)
treee68f3a7dd9aa9b56cf6920890fe2f4caec6b98cd /libavcodec/flacenc.c
parent98ea98069b40c34aa7b762096f8f380012a7dd84 (diff)
downloadffmpeg-streaming-97cfe1d8bd1968143e2ba9aa46ebe9504a835e24.zip
ffmpeg-streaming-97cfe1d8bd1968143e2ba9aa46ebe9504a835e24.tar.gz
Convert all AVClass struct declarations to designated initializers.
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r--libavcodec/flacenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index 0c1e6b7..2745b17 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -1359,10 +1359,10 @@ static const AVOption options[] = {
};
static const AVClass flac_encoder_class = {
- "FLAC encoder",
- av_default_item_name,
- options,
- LIBAVUTIL_VERSION_INT,
+ .class_name = "FLAC encoder",
+ .item_name = av_default_item_name,
+ .option = options,
+ .version = LIBAVUTIL_VERSION_INT,
};
AVCodec ff_flac_encoder = {
OpenPOWER on IntegriCloud