[MPlayer-dev-eng] [PATCH] Fix build due to FFmpeg eval rename
ubitux
ubitux at gmail.com
Mon Apr 12 01:38:03 CEST 2010
Just a patch to fix the build (broken with FFmpeg revision 22844 et
22845).
--
ubitux
-------------- next part --------------
Index: libmpcodecs/vf_geq.c
===================================================================
--- libmpcodecs/vf_geq.c (revision 31030)
+++ libmpcodecs/vf_geq.c (working copy)
@@ -116,7 +116,7 @@
const_values[3]=y;
for(x=0; x<w; x++){
const_values[2]=x;
- dst[x+y* dst_stride]= ff_parse_eval(vf->priv->e[plane], const_values, vf);
+ dst[x+y* dst_stride]= ff_eval_expr(vf->priv->e[plane], const_values, vf);
}
}
}
Index: libmpcodecs/vf_qp.c
===================================================================
--- libmpcodecs/vf_qp.c (revision 31030)
+++ libmpcodecs/vf_qp.c (working copy)
@@ -68,7 +68,7 @@
};
const char *error = NULL;
- vf->priv->lut[i+129]= lrintf(ff_eval2(vf->priv->eq, const_values, const_names, NULL, NULL, NULL, NULL, NULL, &error));
+ vf->priv->lut[i+129]= lrintf(ff_parse_and_eval_expr(vf->priv->eq, const_values, const_names, NULL, NULL, NULL, NULL, NULL, &error));
if (error)
mp_msg(MSGT_VFILTER, MSGL_ERR, "qp: Error evaluating \"%s\": %s\n", vf->priv->eq, error);
}
More information about the MPlayer-dev-eng
mailing list