avidec: use designated initializers for AVClass
authorPaul B Mahol <onemda@gmail.com>
Tue, 19 Jun 2012 13:59:17 +0000 (13:59 +0000)
committerPaul B Mahol <onemda@gmail.com>
Tue, 19 Jun 2012 13:59:17 +0000 (13:59 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/avidec.c

index fea0694..2ad902a 100644 (file)
@@ -84,10 +84,10 @@ static const AVOption options[] = {
 };
 
 static const AVClass demuxer_class = {
-    "AVI demuxer",
-    av_default_item_name,
-    options,
-    LIBAVUTIL_VERSION_INT,
+    .class_name = "AVI demuxer",
+    .item_name  = av_default_item_name,
+    .option     = options,
+    .version    = LIBAVUTIL_VERSION_INT,
 };