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

Function verify_expr

libavcodec/eval.c:358–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358static int verify_expr(AVExpr * e) {
359 if (!e) return 0;
360 switch (e->type) {
361 case e_value:
362 case e_const: return 1;
363 case e_func0:
364 case e_func1:
365 case e_squish:
366 case e_ld:
367 case e_gauss: return verify_expr(e->param[0]);
368 default: return verify_expr(e->param[0]) && verify_expr(e->param[1]);
369 }
370}
371
372AVExpr *ff_parse_expr(const char *s, const char * const *const_name,
373 double (* const *func1)(void *, double), const char * const *func1_name,

Callers 1

ff_parse_exprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected