Commit 4b68ef13 authored by ods15's avatar ods15

shut gcc warning, also makes sense for NAN to be returned if the loop was never executed


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6818 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 94e7d314
......@@ -156,7 +156,7 @@ static double eval_expr(Parser * p, AVEvalExpr * e) {
case e_gauss: { double d = eval_expr(p, e->param[0]); return exp(-d*d/2)/sqrt(2*M_PI); }
case e_ld: return e->value * p->var[clip(eval_expr(p, e->param[0]), 0, VARS-1)];
case e_while: {
double d;
double d = NAN;
while(eval_expr(p, e->param[0]))
d=eval_expr(p, e->param[1]);
return d;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment