More grep-friendly and more consistent with the rest of the FFmpeg API. Originally committed as revision 25708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/vsrc_nullsrc.c (1 of 11 files). Show all
Unified · Split
| @@ -80,7 +80,7 @@ static int config_props(AVFilterLink *outlink) · 79 unmodified lines | ||
| 80 | 80 | priv->var_values[VAR_PI] = M_PI; |
| 81 | 81 | priv->var_values[VAR_AVTB] = av_q2d(AV_TIME_BASE_Q); |
| 82 | 82 | |
| 83 | − if ((ret = av_parse_and_eval_expr(&res, priv->tb_expr, var_names, priv->var_values, | |
| 83 | + if ((ret = av_expr_parse_and_eval(&res, priv->tb_expr, var_names, priv->var_values, | |
| 84 | 84 | NULL, NULL, NULL, NULL, NULL, 0, NULL)) < 0) { |
| 85 | 85 | av_log(ctx, AV_LOG_ERROR, "Invalid expression '%s' for timebase.\n", priv->tb_expr); |
| 86 | 86 | return ret; |