diff options
author | Mans Rullgard <mans@mansr.com> | 2011-07-04 12:26:59 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-04 12:31:47 +0100 |
commit | 94350ab986dfce1c93fa720baf28b548c60a9879 (patch) | |
tree | 80da25e117be1e6cd2b6b1367048e5c9cea53a39 /tests/ref/fate | |
parent | 74965f2644e3af4d21a1d52841b5b48b2bc0895b (diff) | |
download | ffmpeg-94350ab986dfce1c93fa720baf28b548c60a9879.tar.gz |
eval: clear Parser instances before using
This prevents random values from the stack being used as
"variables" in expressions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'tests/ref/fate')
-rw-r--r-- | tests/ref/fate/eval | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval index bcc1a505b0..fb7a925b77 100644 --- a/tests/ref/fate/eval +++ b/tests/ref/fate/eval @@ -92,7 +92,7 @@ Evaluating 'st(1, 123); ld(1)' 'st(1, 123); ld(1)' -> 123.000000 Evaluating 'st(0, 1); while(lte(ld(0), 100), st(1, ld(1)+ld(0));st(0, ld(0)+1)); ld(1)' -'st(0, 1); while(lte(ld(0), 100), st(1, ld(1)+ld(0));st(0, ld(0)+1)); ld(1)' -> 5073.000000 +'st(0, 1); while(lte(ld(0), 100), st(1, ld(1)+ld(0));st(0, ld(0)+1)); ld(1)' -> 4950.000000 Evaluating 'st(1, 1); st(2, 2); st(0, 1); while(lte(ld(0),10), st(3, ld(1)+ld(2)); st(1, ld(2)); st(2, ld(3)); st(0, ld(0)+1)); ld(3)' 'st(1, 1); st(2, 2); st(0, 1); while(lte(ld(0),10), st(3, ld(1)+ld(2)); st(1, ld(2)); st(2, ld(3)); st(0, ld(0)+1)); ld(3)' -> 144.000000 |