summaryrefslogtreecommitdiffstats
path: root/libavcodec/dct-test.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-10-12 23:40:34 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-13 16:03:03 +0200
commita745d1a9e4c426b847ed17cfb85764e60c1c10b0 (patch)
tree71fbc95c4c691849d427d293fa167dbba5b4a516 /libavcodec/dct-test.c
parent7ece8b50b19e140ace13eda6f1a9f45f868c2528 (diff)
downloadffmpeg-streaming-a745d1a9e4c426b847ed17cfb85764e60c1c10b0.zip
ffmpeg-streaming-a745d1a9e4c426b847ed17cfb85764e60c1c10b0.tar.gz
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 56e1a62..692c959 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;
OpenPOWER on IntegriCloud