| 366 | static int parse_expr(AVExpr **e, Parser *p); |
| 367 | |
| 368 | void 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 | |
| 382 | static int parse_primary(AVExpr **e, Parser *p) |
| 383 | { |
no test coverage detected