[Ffmpeg-cvslog] r6810 - trunk/libavcodec/eval.c
michael
subversion
Fri Oct 27 23:13:32 CEST 2006
Author: michael
Date: Fri Oct 27 23:13:31 2006
New Revision: 6810
Modified:
trunk/libavcodec/eval.c
Log:
minor simplification
Modified: trunk/libavcodec/eval.c
==============================================================================
--- trunk/libavcodec/eval.c (original)
+++ trunk/libavcodec/eval.c Fri Oct 27 23:13:31 2006
@@ -302,12 +302,9 @@
int sign, sign2;
AVEvalExpr * e = parse_pow(p, &sign);
while(p->s[0]=='^'){
- AVEvalExpr * tmp;
-
p->s++;
- tmp= new_eval_expr(e_pow, 1, e, parse_pow(p, &sign2));
- if (tmp->param[1]) tmp->param[1]->value *= (sign2|1);
- e = tmp;
+ e= new_eval_expr(e_pow, 1, e, parse_pow(p, &sign2));
+ if (e->param[1]) e->param[1]->value *= (sign2|1);
}
if (e) e->value *= (sign|1);
return e;
More information about the ffmpeg-cvslog
mailing list