lavf: use designated initializers for AVClasses.

This commit is contained in:
Anton Khirnov
2011-04-29 11:30:02 +02:00
parent 13220b1856
commit f0029cbcf6
7 changed files with 34 additions and 14 deletions

View File

@ -58,7 +58,10 @@ static const AVOption options[] = {
{NULL}
};
static const AVClass httpcontext_class = {
"HTTP", av_default_item_name, options, LIBAVUTIL_VERSION_INT
.class_name = "HTTP",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
static int http_connect(URLContext *h, const char *path, const char *hoststr,