diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-13 00:40:34 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-13 17:03:03 +0300 |
commit | a745d1a9e4c426b847ed17cfb85764e60c1c10b0 (patch) | |
tree | 71fbc95c4c691849d427d293fa167dbba5b4a516 /libavcodec/dct-test.c | |
parent | 7ece8b50b19e140ace13eda6f1a9f45f868c2528 (diff) |
avcodec/dct-test: Print failure notice below the failed *dct
This makes it easier to see where a failure happens
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dct-test.c')
-rw-r--r-- | libavcodec/dct-test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 56e1a629a7..692c959e9f 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -245,8 +245,10 @@ static int dct_error(const struct algo *dct, int test, int is_idct, int speed, c omse, ome, (double) sysErrMax / NB_ITS, maxout, blockSumErrMax); - if (spec_err && !dct->nonspec) + if (spec_err && !dct->nonspec) { + printf("Failed!\n"); return 1; + } if (!speed) return 0; |