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:
parent
7ece8b50b1
commit
a745d1a9e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user