libilbc: use designated initializers for AVClass
authorPaul B Mahol <onemda@gmail.com>
Tue, 19 Jun 2012 20:43:28 +0000 (20:43 +0000)
committerPaul B Mahol <onemda@gmail.com>
Tue, 19 Jun 2012 20:43:28 +0000 (20:43 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/libilbc.c

index 0893c6c..b6e8b3a 100644 (file)
@@ -50,7 +50,10 @@ static const AVOption ilbc_dec_options[] = {
 };
 
 static const AVClass ilbc_dec_class = {
-    "libilbc", av_default_item_name, ilbc_dec_options, LIBAVUTIL_VERSION_INT
+    .class_name = "libilbc",
+    .item_name  = av_default_item_name,
+    .option     = ilbc_dec_options,
+    .version    = LIBAVUTIL_VERSION_INT.
 };
 
 static av_cold int ilbc_decode_init(AVCodecContext *avctx)
@@ -127,7 +130,10 @@ static const AVOption ilbc_enc_options[] = {
 };
 
 static const AVClass ilbc_enc_class = {
-    "libilbc", av_default_item_name, ilbc_enc_options, LIBAVUTIL_VERSION_INT
+    .class_name = "libilbc",
+    .item_name  = av_default_item_name,
+    .option     = ilbc_enc_options,
+    .version    = LIBAVUTIL_VERSION_INT,
 };
 
 static av_cold int ilbc_encode_init(AVCodecContext *avctx)