avcodec/x86/dct-test: Use uint8_t for idct_simple_mmx_perm
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 2 May 2015 11:43:15 +0000 (13:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 2 May 2015 11:43:15 +0000 (13:43 +0200)
The table contains no element outside the unsigned 8bit range

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/dct-test.c

index 75b8301..0414381 100644 (file)
@@ -88,7 +88,7 @@ static const struct algo idct_tab_arch[] = {
     { 0 }
 };
 
     { 0 }
 };
 
-static const short idct_simple_mmx_perm[64] = {
+static const uint8_t idct_simple_mmx_perm[64] = {
     0x00, 0x08, 0x04, 0x09, 0x01, 0x0C, 0x05, 0x0D,
     0x10, 0x18, 0x14, 0x19, 0x11, 0x1C, 0x15, 0x1D,
     0x20, 0x28, 0x24, 0x29, 0x21, 0x2C, 0x25, 0x2D,
     0x00, 0x08, 0x04, 0x09, 0x01, 0x0C, 0x05, 0x0D,
     0x10, 0x18, 0x14, 0x19, 0x11, 0x1C, 0x15, 0x1D,
     0x20, 0x28, 0x24, 0x29, 0x21, 0x2C, 0x25, 0x2D,