Mercurial > mplayer.hg
comparison libmpcodecs/vf_qp.c @ 30989:686241d65b86
Fix build after FFmpeg symbol rename:
ff_eval2 --> ff_parse_and_eval_expr
ff_parse_eval --> ff_eval_expr
patch by ubitux, ubitux gmail com
author | diego |
---|---|
date | Mon, 12 Apr 2010 08:03:39 +0000 |
parents | a972c1a4a012 |
children | d1f5069bef25 |
comparison
equal
deleted
inserted
replaced
30988:8d840754a921 | 30989:686241d65b86 |
---|---|
66 "qp", | 66 "qp", |
67 NULL | 67 NULL |
68 }; | 68 }; |
69 | 69 |
70 const char *error = NULL; | 70 const char *error = NULL; |
71 vf->priv->lut[i+129]= lrintf(ff_eval2(vf->priv->eq, const_values, const_names, NULL, NULL, NULL, NULL, NULL, &error)); | 71 vf->priv->lut[i+129]= lrintf(ff_parse_and_eval_expr(vf->priv->eq, const_values, const_names, NULL, NULL, NULL, NULL, NULL, &error)); |
72 if (error) | 72 if (error) |
73 mp_msg(MSGT_VFILTER, MSGL_ERR, "qp: Error evaluating \"%s\": %s\n", vf->priv->eq, error); | 73 mp_msg(MSGT_VFILTER, MSGL_ERR, "qp: Error evaluating \"%s\": %s\n", vf->priv->eq, error); |
74 } | 74 } |
75 | 75 |
76 return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); | 76 return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); |