diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-09-08 19:03:17 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-09-08 19:03:17 +0400 |
commit | d578432db86762cb131c6b8ac57d20338a866bdb (patch) | |
tree | eec47febaaa12af65e76c32e0306830140ffc946 /libavcodec/eval.c | |
parent | dd1c8f3e6e5380f993c86750bb09fd42e130143f (diff) |
Remove stuff under #if LIBAVCODEC_VERSION_INT.
Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.c')
-rw-r--r-- | libavcodec/eval.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c index ada353670c..a3cd477b3d 100644 --- a/libavcodec/eval.c +++ b/libavcodec/eval.c @@ -424,20 +424,6 @@ double ff_eval2(const char *s, double *const_value, const char **const_name, return d; } -#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) -attribute_deprecated double ff_eval(char *s, double *const_value, const char **const_name, - double (**func1)(void *, double), const char **func1_name, - double (**func2)(void *, double, double), char **func2_name, - void *opaque){ - const char *error=NULL; - double ret; - ret = ff_eval2(s, const_value, const_name, func1, func1_name, func2, func2_name, opaque, &error); - if (error) - av_log(NULL, AV_LOG_ERROR, "Error evaluating \"%s\": %s\n", s, error); - return ret; -} -#endif - #ifdef TEST #undef printf static double const_values[]={ |