diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-29 11:30:02 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-05-17 23:01:42 +0200 |
commit | f0029cbcf68d77f4ea0ea0cc36596ea2a5305b13 (patch) | |
tree | 639e57fc963fe245eca07ec29843bdfc839a2ada /libavformat/avio.c | |
parent | 13220b1856c98d83ad8ac237e789927cce0b9413 (diff) | |
download | ffmpeg-f0029cbcf68d77f4ea0ea0cc36596ea2a5305b13.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 8881f269f2..ac15407fda 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -39,8 +39,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); |