diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index f8e981be9b..2abb05bd3b 100644 --- a/libavcodec/dct-test.c +++ b/libavcodec/dct-test.c @@ -195,7 +195,7 @@ static inline void mmx_emms(void) static void dct_error(const char *name, int is_idct, void (*fdct_func)(DCTELEM *block), - void (*fdct_ref)(DCTELEM *block), int form, int test) + void (*fdct_ref)(DCTELEM *block), int form, int test, const int bits) { int it, i, scale; int err_inf, v; @@ -204,6 +204,7 @@ static void dct_error(const char *name, int is_idct, int maxout=0; int blockSumErrMax=0, blockSumErr; AVLFG prng; + const int vals=1<