X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Feval.c;h=5da9a6d83b91d389ca4d93028850aef68a79a80f;hb=700da852b58bf3354dec6652dc1500192ef63154;hp=b5f4ea2409e761089181b5bfc091720a23bb6eec;hpb=c2e3cfd060a310e46c7dda4d5ab56479a718e7c3;p=ffmpeg diff --git a/libavutil/eval.c b/libavutil/eval.c index b5f4ea2409e..5da9a6d83b9 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;