aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-19 13:59:17 +0000
committerPaul B Mahol <onemda@gmail.com>2012-06-19 13:59:17 +0000
commit7238ed6c84b0a02aaf7cee2b139c74a705625d3d (patch)
tree7d55354ef88a288b3cccb9edbf72abd76d49d9c4 /libavformat
parentef8bea9107f996a6552747cf8136e6d1b8f9396d (diff)
downloadffmpeg-7238ed6c84b0a02aaf7cee2b139c74a705625d3d.tar.gz
avidec: use designated initializers for AVClass
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avidec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index fea069434e..2ad902af71 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -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,
};