mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
tools/ffeval: print computed value even in case of error
This is useful for debugging purposes.
This commit is contained in:
parent
85eabd748b
commit
60f162946f
@ -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…
Reference in New Issue
Block a user