comparison 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
comparison
equal deleted inserted replaced
11613:2c41284050cf 11614:ab7aceed5286
105 "qp2bits", 105 "qp2bits",
106 NULL 106 NULL
107 }; 107 };
108 emms_c(); 108 emms_c();
109 109
110 rcc->rc_eq_eval = ff_parse(s->avctx->rc_eq ? s->avctx->rc_eq : "tex^qComp", const_names, func1, func1_names, NULL, NULL, &error); 110 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);
111 if (!rcc->rc_eq_eval) { 111 if (!rcc->rc_eq_eval) {
112 av_log(s->avctx, AV_LOG_ERROR, "Error parsing rc_eq \"%s\": %s\n", s->avctx->rc_eq, error? error : ""); 112 av_log(s->avctx, AV_LOG_ERROR, "Error parsing rc_eq \"%s\": %s\n", s->avctx->rc_eq, error? error : "");
113 return -1; 113 return -1;
114 } 114 }
115 115