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

Function av_expr_free

libavutil/eval.c:368–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366static int parse_expr(AVExpr **e, Parser *p);
367
368void av_expr_free(AVExpr *e)
369{
370 if (!e) return;
371 av_expr_free(e->param[0]);
372 av_expr_free(e->param[1]);
373 av_expr_free(e->param[2]);
374 if (e->root) {
375 AVExprRoot *r = (AVExprRoot*)e;
376 av_freep(&r->var);
377 av_freep(&r->prng_state);
378 }
379 av_freep(&e);
380}
381
382static int parse_primary(AVExpr **e, Parser *p)
383{

Callers 15

parse_primaryFunction · 0.85
parse_factorFunction · 0.85
parse_termFunction · 0.85
parse_subexprFunction · 0.85
parse_exprFunction · 0.85
av_expr_parseFunction · 0.85
av_expr_parse_and_evalFunction · 0.85
ost_freeFunction · 0.85
ff_rate_control_uninitFunction · 0.85
noise_closeFunction · 0.85
setts_closeFunction · 0.85
uninitFunction · 0.85

Calls 1

av_freepFunction · 0.85

Tested by

no test coverage detected