MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / parse_term

Function parse_term

libavcodec/eval.c:315–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315static AVExpr * parse_term(Parser *p){
316 AVExpr * e = parse_factor(p);
317 while(p->s[0]=='*' || p->s[0]=='/'){
318 int c= *p->s++;
319 e= new_eval_expr(c == '*' ? e_mul : e_div, 1, e, parse_factor(p));
320 if (!e)
321 return NULL;
322 }
323 return e;
324}
325
326static AVExpr * parse_subexpr(Parser *p) {
327 AVExpr * e = parse_term(p);

Callers 1

parse_subexprFunction · 0.85

Calls 2

parse_factorFunction · 0.85
new_eval_exprFunction · 0.85

Tested by

no test coverage detected