--- xvid.c 2003/02/20 22:46:18 1.44 +++ xvid.c 2003/02/21 00:00:57 1.45 @@ -17,7 +17,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: xvid.c,v 1.44 2003/02/20 22:46:18 edgomez Exp $ + * $Id: xvid.c,v 1.45 2003/02/21 00:00:57 edgomez Exp $ * ****************************************************************************/ @@ -811,9 +811,9 @@ int xvid_init_test(int flags) { - int cpu_flags = 0; - - srand(time(0)); +#if defined(ARCH_IS_IA32) + int cpu_flags; +#endif printf("XviD tests\n\n"); @@ -824,6 +824,8 @@ idct_int32_init(); emms(); + srand(time(0)); + /* fDCT test */ printf("--- fdct ---\n"); test_transform(fdct_int32, fdct_int32, "c", TEST_FDCT, flags);