lavf: use designated initializers for AVClasses.

This commit is contained in:
Anton Khirnov
2011-04-29 11:30:02 +02:00
parent 5a43bd5e26
commit 4a7a1b7def
7 changed files with 34 additions and 14 deletions

View File

@@ -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)