summaryrefslogtreecommitdiff
path: root/tools/ffeval.c
Commit message (Collapse)AuthorAgeFilesLines
* tools/ffeval: print computed value even in case of errorStefano Sabatini2014-07-051-1/+1
| | | | This is useful for debugging purposes.
* tools/ffeval: Check return value of av_expr_parse_and_eval()Michael Niedermayer2013-06-021-4/+5
| | | | | | Fixes CID1026745 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tools/ffeval: use av_dynarray2_add()Stefano Sabatini2013-05-131-18/+14
| | | | Simplify, increment robustness.
* tools/ffeval: do not use UNIX-specific /dev/std{in,out} filesStefano Sabatini2012-10-161-6/+12
| | | | | 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-151-0/+8
|
* ffeval: avoid folding EOF onto a valid charMichael Niedermayer2012-10-131-1/+1
| | | | | Fixes CID733704 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tools: add ffeval toolStefano Sabatini2012-01-171-0/+128
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 ;-).