[FFmpeg-cvslog] avcodec/x86/dct-test: Make static table const

Michael Niedermayer git at videolan.org
Sat May 2 13:54:12 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May  2 13:42:46 2015 +0200| [270e647adc3b329946b1d42b3889dd43c4e1a166] | committer: Michael Niedermayer

avcodec/x86/dct-test: Make static table const

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=270e647adc3b329946b1d42b3889dd43c4e1a166
---

 libavcodec/x86/dct-test.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/dct-test.c b/libavcodec/x86/dct-test.c
index 193a69e..75b8301 100644
--- a/libavcodec/x86/dct-test.c
+++ b/libavcodec/x86/dct-test.c
@@ -88,7 +88,7 @@ static const struct algo idct_tab_arch[] = {
     { 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,



More information about the ffmpeg-cvslog mailing list