diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-29 11:30:02 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-29 11:39:34 +0200 |
commit | 4a7a1b7def03051e16a3ffbbe51d41f227aea0fd (patch) | |
tree | 316321fe313a60daee14ec45c0df2b55f203723c /libavformat/http.c | |
parent | 5a43bd5e2609705ee8b834c789fe93399588ca85 (diff) | |
download | ffmpeg-4a7a1b7def03051e16a3ffbbe51d41f227aea0fd.tar.gz |
lavf: use designated initializers for AVClasses.
Diffstat (limited to 'libavformat/http.c')
-rw-r--r-- | libavformat/http.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index 7d59152409..9cef0a6abc 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -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, |