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/avio.c | |
parent | 5a43bd5e2609705ee8b834c789fe93399588ca85 (diff) | |
download | ffmpeg-4a7a1b7def03051e16a3ffbbe51d41f227aea0fd.tar.gz |
lavf: use designated initializers for AVClasses.
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 0702aff007..e7bf61617a 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -40,8 +40,12 @@ static const char *urlcontext_to_name(void *ptr) else return "NULL"; } static const AVOption options[] = {{NULL}}; -static const AVClass urlcontext_class = - { "URLContext", urlcontext_to_name, options, LIBAVUTIL_VERSION_INT }; +static const AVClass urlcontext_class = { + .class_name = "URLContext", + .item_name = urlcontext_to_name, + .option = options, + .version = LIBAVUTIL_VERSION_INT, +}; /*@}*/ static int default_interrupt_cb(void); |