From a745d1a9e4c426b847ed17cfb85764e60c1c10b0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 12 Oct 2015 23:40:34 +0200 Subject: [PATCH] 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 --- libavcodec/dct-test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;