diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-11-05 13:32:06 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-11-05 13:32:06 +0000 |
commit | c2dec19420e9246c8da12d7095d7fecfe98d317a (patch) | |
tree | c1c801b439541c40d3fecf8259abd0d825c05aa7 | |
parent | 4fd71a0ee83f03fb88127a7f9b1a2e1d5c66b551 (diff) | |
download | ffmpeg-c2dec19420e9246c8da12d7095d7fecfe98d317a.tar.gz |
Fix test program build: ff_eval was replaced by ff_eval2.
Originally committed as revision 15775 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/eval.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c index a3cd477b3d..be393a6dd0 100644 --- a/libavcodec/eval.c +++ b/libavcodec/eval.c @@ -438,13 +438,13 @@ static const char *const_names[]={ }; int main(void){ int i; - printf("%f == 12.7\n", ff_eval("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); - printf("%f == 0.931322575\n", ff_eval("80G/80Gi", const_values, const_names, NULL, NULL, NULL, NULL, NULL)); + printf("%f == 12.7\n", ff_eval2("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL, NULL)); + printf("%f == 0.931322575\n", ff_eval2("80G/80Gi", const_values, const_names, NULL, NULL, NULL, NULL, NULL, NULL)); for(i=0; i<1050; i++){ START_TIMER - ff_eval("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL); - STOP_TIMER("ff_eval") + ff_eval2("1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", const_values, const_names, NULL, NULL, NULL, NULL, NULL, NULL); + STOP_TIMER("ff_eval2") } return 0; } |