[MPlayer-cvslog] r27254 - trunk/libmpcodecs/ad_msadpcm.c

reimar subversion at mplayerhq.hu
Fri Jul 11 20:13:11 CEST 2008


Author: reimar
Date: Fri Jul 11 20:13:11 2008
New Revision: 27254

Log:
Make msadpcm arrays const


Modified:
   trunk/libmpcodecs/ad_msadpcm.c

Modified: trunk/libmpcodecs/ad_msadpcm.c
==============================================================================
--- trunk/libmpcodecs/ad_msadpcm.c	(original)
+++ trunk/libmpcodecs/ad_msadpcm.c	Fri Jul 11 20:13:11 2008
@@ -26,18 +26,18 @@ static ad_info_t info = 
 
 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
 };



More information about the MPlayer-cvslog mailing list