]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/eval.c
Merge commit '589e5b52f634f6b2d307a167a19eef7e7328cb08'
[ffmpeg] / libavutil / eval.c
index 3abc3e5a881a837c63ea61cf579f05264d168633..9b1458c89b3310783b9152e78c8fde8f2a6bceb8 100644 (file)
@@ -52,7 +52,7 @@ typedef struct Parser {
     double *var;
 } Parser;
 
-static const AVClass class = { "Eval", av_default_item_name, NULL, LIBAVUTIL_VERSION_INT, offsetof(Parser,log_offset), offsetof(Parser,log_ctx) };
+static const AVClass eval_class = { "Eval", av_default_item_name, NULL, LIBAVUTIL_VERSION_INT, offsetof(Parser,log_offset), offsetof(Parser,log_ctx) };
 
 static const int8_t si_prefixes['z' - 'E' + 1] = {
     ['y'-'E']= -24,
@@ -657,7 +657,7 @@ int av_expr_parse(AVExpr **expr, const char *s,
         if (!av_isspace(*s++)) *wp++ = s[-1];
     *wp++ = 0;
 
-    p.class      = &class;
+    p.class      = &eval_class;
     p.stack_index=100;
     p.s= w;
     p.const_names = const_names;