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
This commit is contained in:
@@ -128,7 +128,7 @@ int av_parse_video_rate(AVRational *rate, const char *arg)
|
||||
}
|
||||
|
||||
/* Then, we try to parse it as fraction */
|
||||
if ((ret = av_parse_and_eval_expr(&res, arg, NULL, NULL, NULL, NULL, NULL, NULL,
|
||||
if ((ret = av_expr_parse_and_eval(&res, arg, NULL, NULL, NULL, NULL, NULL, NULL,
|
||||
NULL, 0, NULL)) < 0)
|
||||
return ret;
|
||||
*rate = av_d2q(res, 1001000);
|
||||
|
Reference in New Issue
Block a user