1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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>
This commit is contained in:
Michael Niedermayer 2015-10-12 23:40:34 +02:00
parent 7ece8b50b1
commit a745d1a9e4

View File

@ -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;