summaryrefslogtreecommitdiff
path: root/tools/ffeval.c
Commit message (Collapse)AuthorAge
* avutil/mem: Don't include avutil.hAndreas Rheinhardt2023-09-07
| | | | | | | | | It is not necessary at all. So remove it. This also breaks an inclusion cycle mem.h->avutil.h->common.h->mem.h. Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tools/ffeval: print computed value even in case of errorStefano Sabatini2014-07-05
| | | | This is useful for debugging purposes.
* tools/ffeval: Check return value of av_expr_parse_and_eval()Michael Niedermayer2013-06-02
| | | | | | Fixes CID1026745 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tools/ffeval: use av_dynarray2_add()Stefano Sabatini2013-05-13
| | | | Simplify, increment robustness.
* tools/ffeval: do not use UNIX-specific /dev/std{in,out} filesStefano Sabatini2012-10-16
| | | | | Should fix behavior when the /dev/ directory is not defined (e.g. on Windows).
* tools/ffeval: include compat/getopt.c in case of missing system getopt()Stefano Sabatini2012-10-15
|
* ffeval: avoid folding EOF onto a valid charMichael Niedermayer2012-10-13
| | | | | Fixes CID733704 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tools: add ffeval toolStefano Sabatini2012-01-17
The tool is useful for testing the internal arithmetic evaluation engine (indeed I plan to use it in FATE), and provides a handy calculator when you can't rely on bc ;-).