avcodec/x86/dct-test: Make static table const
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 2 May 2015 11:42:46 +0000 (13:42 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 2 May 2015 11:42:46 +0000 (13:42 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/dct-test.c

index 193a69e3eb195ac2b68975753db143facebe1ba1..75b8301f3c32b0922f10b8322a21732890d91056 100644 (file)
@@ -88,7 +88,7 @@ static const struct algo idct_tab_arch[] = {
     { 0 }
 };
 
     { 0 }
 };
 
-static short idct_simple_mmx_perm[64] = {
+static const short 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,