[FFmpeg-soc] [soc]: r2271 - mlp/mlpdec.c

ramiro subversion at mplayerhq.hu
Fri May 30 16:33:53 CEST 2008


Author: ramiro
Date: Fri May 30 16:33:53 2008
New Revision: 2271

Log:
Constify noise table.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c	(original)
+++ mlp/mlpdec.c	Fri May 30 16:33:53 2008
@@ -769,7 +769,7 @@ static int read_block_data(MLPDecodeCont
 
 /** Data table used for TrueHD noise generation function */
 
-static int8_t noise_table[256] = {
+static const int8_t noise_table[256] = {
      30,  51,  22,  54,   3,   7,  -4,  38,  14,  55,  46,  81,  22,  58,  -3,   2,
      52,  31,  -7,  51,  15,  44,  74,  30,  85, -17,  10,  33,  18,  80,  28,  62,
      10,  32,  23,  69,  72,  26,  35,  17,  73,  60,   8,  56,   2,   6,  -2,  -5,



More information about the FFmpeg-soc mailing list