changeset 27222:5b7bc104bdaf

Make msadpcm arrays const
author reimar
date Fri, 11 Jul 2008 18:13:11 +0000
parents 7bd7dd22faad
children ffe50e8b6e1c
files libmpcodecs/ad_msadpcm.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_msadpcm.c	Fri Jul 11 18:12:15 2008 +0000
+++ b/libmpcodecs/ad_msadpcm.c	Fri Jul 11 18:13:11 2008 +0000
@@ -26,18 +26,18 @@
 
 LIBAD_EXTERN(msadpcm)
 
-static int ms_adapt_table[] =
+static const int ms_adapt_table[] =
 {
   230, 230, 230, 230, 307, 409, 512, 614,
   768, 614, 512, 409, 307, 230, 230, 230
 };
 
-static int ms_adapt_coeff1[] =
+static const int ms_adapt_coeff1[] =
 {
   256, 512, 0, 192, 240, 460, 392
 };
 
-static int ms_adapt_coeff2[] =
+static const int ms_adapt_coeff2[] =
 {
   0, -256, 0, 64, 0, -208, -232
 };