]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/eval.c
avformat/hlsenc: revamped master playlist url creation logic
[ffmpeg] / libavutil / eval.c
index b5f4ea2409e761089181b5bfc091720a23bb6eec..5da9a6d83b91d389ca4d93028850aef68a79a80f 100644 (file)
@@ -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;