avcodec/flacenc: use designated initializers for AVClass
authorPaul B Mahol <onemda@gmail.com>
Sun, 20 Dec 2015 16:47:21 +0000 (17:47 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sun, 20 Dec 2015 16:47:21 +0000 (17:47 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/flacenc.c

index b3833fa..5db043a 100644 (file)
@@ -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 = {