# HG changeset patch # User siretart # Date 1303632730 0 # Node ID 9a5da0f0c0f629be5fde7ba7fbe538cd6faca396 # Parent e5e8f5bc088c2c125a97a2c34a1cbffe3031f223 use new eval API names unbreaks compilation diff -r e5e8f5bc088c -r 9a5da0f0c0f6 libmpcodecs/vf_qp.c --- a/libmpcodecs/vf_qp.c Sun Apr 24 08:08:24 2011 +0000 +++ b/libmpcodecs/vf_qp.c Sun Apr 24 08:12:10 2011 +0000 @@ -69,7 +69,7 @@ double temp_val; int res; - res= av_parse_and_eval_expr(&temp_val, vf->priv->eq, const_names, const_values, NULL, NULL, NULL, NULL, NULL, 0, NULL); + res= av_expr_parse_and_eval(&temp_val, vf->priv->eq, const_names, const_values, NULL, NULL, NULL, NULL, NULL, 0, NULL); if (res < 0){ mp_msg(MSGT_VFILTER, MSGL_ERR, "qp: Error evaluating \"%s\" \n", vf->priv->eq);