summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_geq.c
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-05 13:44:20 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-05 13:44:20 +0000
commitef14d50ad6298ed1df07f1034326878bf71149d8 (patch)
tree46bd0531e1f528332845a2f30df6408c1eea3698 /libmpcodecs/vf_geq.c
parent7b50ebd44b184807361493bff0d85f30932ed955 (diff)
downloadmpv-ef14d50ad6298ed1df07f1034326878bf71149d8.tar.bz2
mpv-ef14d50ad6298ed1df07f1034326878bf71149d8.tar.xz
Fix compilation after FFmpeg r23485.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31322 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_geq.c')
-rw-r--r--libmpcodecs/vf_geq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/vf_geq.c b/libmpcodecs/vf_geq.c
index 10e9e833b7..b701fcc2ec 100644
--- a/libmpcodecs/vf_geq.c
+++ b/libmpcodecs/vf_geq.c
@@ -34,7 +34,7 @@
#include "vf.h"
#include "libavcodec/avcodec.h"
-#include "libavcodec/eval.h"
+#include "libavutil/eval.h"
struct vf_priv_s {
AVExpr * e[3];
@@ -116,7 +116,7 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){
const_values[3]=y;
for(x=0; x<w; x++){
const_values[2]=x;
- dst[x + y * dst_stride] = ff_eval_expr(vf->priv->e[plane],
+ dst[x + y * dst_stride] = av_eval_expr(vf->priv->e[plane],
const_values, vf);
}
}
@@ -178,7 +178,7 @@ static int vf_open(vf_instance_t *vf, char *args){
plane==0 ? lum : (plane==1 ? cb : cr),
NULL
};
- res = ff_parse_expr(&vf->priv->e[plane], eq[plane], const_names, NULL, NULL, func2_names, func2, 0, NULL);
+ res = av_parse_expr(&vf->priv->e[plane], eq[plane], const_names, NULL, NULL, func2_names, func2, 0, NULL);
if (res < 0) {
mp_msg(MSGT_VFILTER, MSGL_ERR, "geq: error loading equation `%s'\n", eq[plane]);