From 0915b531bc62440914710d2989813563b0446c5e Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 30 Jun 2013 13:46:27 +0200 Subject: Rename "AVClass class" as "AVClass component_class". The aix header math.h defines "extern int class()" for C. --- libavutil/eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavutil/eval.c') diff --git a/libavutil/eval.c b/libavutil/eval.c index 3abc3e5a88..9b1458c89b 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -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; -- cgit v1.2.1