Commit a745d1a9 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dct-test: Print failure notice below the failed *dct

This makes it easier to see where a failure happens
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 7ece8b50
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment