mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-02 02:04:19 +00: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)
|
if (echo)
|
||||||
fprintf(outfile, "%s ", buf);
|
fprintf(outfile, "%s ", buf);
|
||||||
if (ret >= 0) fprintf(outfile, "%s%f\n", prompt, d);
|
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;
|
count = 0;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user