History

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

Stefano Sabatini committed 16 years ago

Commit d2af7201 parent 24de0ed11 files · +147 −60Browse files

Showing the changes to libavfilter/vsrc_nullsrc.c (1 of 11 files). Show all

Unified · Split

libavfilter/vsrc_nullsrc.c+1−1
@@ -80,7 +80,7 @@ static int config_props(AVFilterLink *outlink) · 79 unmodified lines
8080 priv->var_values[VAR_PI] = M_PI;
8181 priv->var_values[VAR_AVTB] = av_q2d(AV_TIME_BASE_Q);
8282
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,
8484 NULL, NULL, NULL, NULL, NULL, 0, NULL)) < 0) {
8585 av_log(ctx, AV_LOG_ERROR, "Invalid expression '%s' for timebase.\n", priv->tb_expr);
8686 return ret;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t