changeset 4093:ca9b4b42ebf9 libavcodec

add missing 'e->value * '
author ods15
date Sat, 28 Oct 2006 08:03:30 +0000
parents 772ab2a1deaa
children f812a11be0b1
files eval.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/eval.c	Sat Oct 28 07:03:24 2006 +0000
+++ b/eval.c	Sat Oct 28 08:03:30 2006 +0000
@@ -175,7 +175,7 @@
                 case e_mul: return e->value * (d * d2);
                 case e_div: return e->value * (d / d2);
                 case e_add: return e->value * (d + d2);
-                case e_last:return d2;
+                case e_last:return e->value * d2;
                 case e_st : return e->value * (p->var[clip(d, 0, VARS-1)]= d2);
             }
         }