diff eval.c @ 7824:635ed2559262 libavcodec

Remove stuff under #if LIBAVCODEC_VERSION_INT.
author michael
date Mon, 08 Sep 2008 15:03:17 +0000
parents 322023e630a6
children 5de6db4225d6
line wrap: on
line diff
--- a/eval.c	Mon Sep 08 14:24:59 2008 +0000
+++ b/eval.c	Mon Sep 08 15:03:17 2008 +0000
@@ -424,20 +424,6 @@
     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[]={