Mercurial > libavcodec.hg
diff ratecontrol.c @ 11614:ab7aceed5286 libavcodec
Rename ff_parse() to ff_parse_expr().
The new name is more expressive and fits better in the overall naming
scheme for the revisited eval API.
author | stefano |
---|---|
date | Mon, 12 Apr 2010 19:21:15 +0000 |
parents | 6bab1bfac3bb |
children | 7dd2a45249a9 |
line wrap: on
line diff
--- a/ratecontrol.c Mon Apr 12 19:21:08 2010 +0000 +++ b/ratecontrol.c Mon Apr 12 19:21:15 2010 +0000 @@ -107,7 +107,7 @@ }; emms_c(); - rcc->rc_eq_eval = ff_parse(s->avctx->rc_eq ? s->avctx->rc_eq : "tex^qComp", const_names, func1, func1_names, NULL, NULL, &error); + rcc->rc_eq_eval = ff_parse_expr(s->avctx->rc_eq ? s->avctx->rc_eq : "tex^qComp", const_names, func1, func1_names, NULL, NULL, &error); if (!rcc->rc_eq_eval) { av_log(s->avctx, AV_LOG_ERROR, "Error parsing rc_eq \"%s\": %s\n", s->avctx->rc_eq, error? error : ""); return -1;