changeset 24972:60e8bf1f23e9

#include libavcodec/eval.h instead of manually declaring ff_eval.
author diego
date Fri, 09 Nov 2007 14:12:19 +0000
parents 8bbc042f23c4
children aff04d7af1e1
files libmpcodecs/vf_qp.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_qp.c	Fri Nov 09 12:52:50 2007 +0000
+++ b/libmpcodecs/vf_qp.c	Fri Nov 09 14:12:19 2007 +0000
@@ -27,18 +27,12 @@
 #include "mp_msg.h"
 #include "cpudetect.h"
 
-#if 1
-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);
-#endif
-
 // Needed to bring in lrintf.
 #define HAVE_AV_CONFIG_H
 
 #include "libavcodec/avcodec.h"
 #include "libavcodec/dsputil.h"
+#include "libavcodec/eval.h"
 #include "libavutil/common.h"
 
 /* FIXME: common.h defines fprintf away when HAVE_AV_CONFIG