summaryrefslogtreecommitdiff
path: root/libavformat/crypto.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-29 11:30:02 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-29 11:39:34 +0200
commit4a7a1b7def03051e16a3ffbbe51d41f227aea0fd (patch)
tree316321fe313a60daee14ec45c0df2b55f203723c /libavformat/crypto.c
parent5a43bd5e2609705ee8b834c789fe93399588ca85 (diff)
lavf: use designated initializers for AVClasses.
Diffstat (limited to 'libavformat/crypto.c')
-rw-r--r--libavformat/crypto.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavformat/crypto.c b/libavformat/crypto.c
index fecc2c961c..789a4d1e76 100644
--- a/libavformat/crypto.c
+++ b/libavformat/crypto.c
@@ -52,7 +52,10 @@ static const AVOption options[] = {
};
static const AVClass crypto_class = {
- "crypto", av_default_item_name, options, LIBAVUTIL_VERSION_INT
+ .class_name = "crypto",
+ .item_name = av_default_item_name,
+ .option = options,
+ .version = LIBAVUTIL_VERSION_INT,
};
static int crypto_open(URLContext *h, const char *uri, int flags)