| 282 | } |
| 283 | |
| 284 | static AVExpr * new_eval_expr(int type, int value, AVExpr *p0, AVExpr *p1){ |
| 285 | AVExpr * e = av_mallocz(sizeof(AVExpr)); |
| 286 | if (!e) |
| 287 | return NULL; |
| 288 | e->type =type ; |
| 289 | e->value =value ; |
| 290 | e->param[0] =p0 ; |
| 291 | e->param[1] =p1 ; |
| 292 | return e; |
| 293 | } |
| 294 | |
| 295 | static AVExpr * parse_pow(Parser *p, int *sign){ |
| 296 | *sign= (*p->s == '+') - (*p->s == '-'); |
no test coverage detected