Commit a55132fe authored by takis's avatar takis

Break compatibility only when first part of version number changes, in this

specific case for ff_eval deprecation.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6358 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5bdfdf91
...@@ -264,7 +264,7 @@ double ff_eval2(char *s, double *const_value, const char **const_name, ...@@ -264,7 +264,7 @@ double ff_eval2(char *s, double *const_value, const char **const_name,
return evalExpression(&p); return evalExpression(&p);
} }
#if LIBAVCODEC_VERSION_INT < ((51<<16)+(17<<8)+0) #if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
attribute_deprecated double ff_eval(char *s, double *const_value, const char **const_name, attribute_deprecated double ff_eval(char *s, double *const_value, const char **const_name,
double (**func1)(void *, double), const char **func1_name, double (**func1)(void *, double), const char **func1_name,
double (**func2)(void *, double, double), char **func2_name, double (**func2)(void *, double, double), char **func2_name,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment