tools/ffeval: print computed value even in case of error

This is useful for debugging purposes.
pull/76/merge
Stefano Sabatini 11 years ago
parent 85eabd748b
commit 60f162946f
  1. 2
      tools/ffeval.c

@ -124,7 +124,7 @@ int main(int argc, char **argv)
if (echo)
fprintf(outfile, "%s ", buf);
if (ret >= 0) fprintf(outfile, "%s%f\n", prompt, d);
else fprintf(outfile, "%s%s\n", prompt, av_err2str(ret));
else fprintf(outfile, "%s%f (%s)\n", prompt, d, av_err2str(ret));
}
count = 0;
} else {

Loading…
Cancel
Save