From 367ffa0c151792651a741554c608a73bad112663 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 20 Dec 2015 17:47:21 +0100 Subject: [PATCH] avcodec/flacenc: use designated initializers for AVClass Signed-off-by: Paul B Mahol --- libavcodec/flacenc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index b3833fafee..5db043ad8b 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -1468,10 +1468,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 = {