diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-08 14:06:49 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-08 14:06:49 +0000 |
commit | d2af7205a12afde34c916ef96ba8c7a26aa0813e (patch) | |
tree | f66721788b2a9ad55d83c74cc075761bf9a5eaea /libavfilter/vsrc_nullsrc.c | |
parent | 24de0edbd589b7cb0da51260073a1a28bb6a2619 (diff) | |
download | ffmpeg-streaming-d2af7205a12afde34c916ef96ba8c7a26aa0813e.zip ffmpeg-streaming-d2af7205a12afde34c916ef96ba8c7a26aa0813e.tar.gz |
Use hierarchic names convention (prefix them with av_expr) for the
eval API.
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
Diffstat (limited to 'libavfilter/vsrc_nullsrc.c')
-rw-r--r-- | libavfilter/vsrc_nullsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_nullsrc.c b/libavfilter/vsrc_nullsrc.c index d93517d..1cd06e1 100644 --- a/libavfilter/vsrc_nullsrc.c +++ b/libavfilter/vsrc_nullsrc.c @@ -80,7 +80,7 @@ static int config_props(AVFilterLink *outlink) priv->var_values[VAR_PI] = M_PI; priv->var_values[VAR_AVTB] = av_q2d(AV_TIME_BASE_Q); - if ((ret = av_parse_and_eval_expr(&res, priv->tb_expr, var_names, priv->var_values, + if ((ret = av_expr_parse_and_eval(&res, priv->tb_expr, var_names, priv->var_values, NULL, NULL, NULL, NULL, NULL, 0, NULL)) < 0) { av_log(ctx, AV_LOG_ERROR, "Invalid expression '%s' for timebase.\n", priv->tb_expr); return ret; |