diff options
author | James Almer | 2017-11-01 20:05:09 -0300 |
---|---|---|
committer | James Almer | 2017-11-01 20:05:09 -0300 |
commit | e621b1ca646a2f268797adc3194b694a852548d2 (patch) | |
tree | 3c9c029dd56f3abc6e7c28ec55566b5c65a7ef2c /libavutil/eval.c | |
parent | 3524c92950832705210e50eeafad002fe2d58be5 (diff) | |
parent | 97cfe1d8bd1968143e2ba9aa46ebe9504a835e24 (diff) |
Merge commit '97cfe1d8bd1968143e2ba9aa46ebe9504a835e24'
* commit '97cfe1d8bd1968143e2ba9aa46ebe9504a835e24':
Convert all AVClass struct declarations to designated initializers.
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/eval.c')
-rw-r--r-- | libavutil/eval.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c index b5f4ea2409..5da9a6d83b 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -57,7 +57,14 @@ typedef struct Parser { double *var; } Parser; -static const AVClass eval_class = { "Eval", av_default_item_name, NULL, LIBAVUTIL_VERSION_INT, offsetof(Parser,log_offset), offsetof(Parser,log_ctx) }; +static const AVClass eval_class = { + .class_name = "Eval", + .item_name = av_default_item_name, + .option = NULL, + .version = LIBAVUTIL_VERSION_INT, + .log_level_offset_offset = offsetof(Parser, log_offset), + .parent_log_context_offset = offsetof(Parser, log_ctx), +}; static const struct { double bin_val; |