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-05-17 23:01:42 +0200
commitf0029cbcf68d77f4ea0ea0cc36596ea2a5305b13 (patch)
tree639e57fc963fe245eca07ec29843bdfc839a2ada /libavformat/crypto.c
parent13220b1856c98d83ad8ac237e789927cce0b9413 (diff)
downloadffmpeg-f0029cbcf68d77f4ea0ea0cc36596ea2a5305b13.tar.gz
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)