diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 730a368257..b7a27f0beb 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -531,5 +531,8 @@ int main(int argc, char **argv) } } - return err; + if (err) + printf("Error: %d.\n", err); + + return !!err; }