aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ffeval.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2014-07-04 16:39:29 +0200
committerStefano Sabatini <stefasab@gmail.com>2014-07-05 11:48:24 +0200
commit60f162946f0927e624156e578161e6042c5299c6 (patch)
tree9230c5dbf5ec4d0b82758bdfe8025d2c49ada945 /tools/ffeval.c
parent85eabd748bc783c6591e159631cbed11cf2d00fa (diff)
downloadffmpeg-60f162946f0927e624156e578161e6042c5299c6.tar.gz
tools/ffeval: print computed value even in case of error
This is useful for debugging purposes.
Diffstat (limited to 'tools/ffeval.c')
-rw-r--r--tools/ffeval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ffeval.c b/tools/ffeval.c
index 66b103294f..944f374727 100644
--- a/tools/ffeval.c
+++ b/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 {