OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51291e6
)
fft-test: format error output more readably
author
Måns Rullgård
<mans@mansr.com>
Mon, 16 Aug 2010 20:34:06 +0000
(20:34 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Mon, 16 Aug 2010 20:34:06 +0000
(20:34 +0000)
Originally committed as revision 24799 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/fft-test.c
patch
|
blob
|
history
diff --git
a/libavcodec/fft-test.c
b/libavcodec/fft-test.c
index
5a12494
..
85282f5
100644
(file)
--- a/
libavcodec/fft-test.c
+++ b/
libavcodec/fft-test.c
@@
-186,7
+186,7
@@
static int check_diff(float *tab1, float *tab2, int n, double scale)
for (i = 0; i < n; i++) {
double e= fabsf(tab1[i] - (tab2[i] / scale));
if (e >= 1e-3) {
- av_log(NULL, AV_LOG_ERROR, "ERROR %
d: %f %
f\n",
+ av_log(NULL, AV_LOG_ERROR, "ERROR %
5d: %10.6f %10.6
f\n",
i, tab1[i], tab2[i]);
err = 1;
}