Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2012-09-10 12:48:23 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-09-12 23:54:22 +0400
commit5f6be0c1c198bdafc036854597e2f45572aaa919 (patch)
treee7dbf3bdf6c6c1edaba16a1b0465063ce3bc7bbd /silk/tables_other.c
parentd006b781ca528fa7d9da7b02480846fedd3b82a1 (diff)
Mark tables static when not used outside of their translation unit.
This is similar to the change for functions, but is only used to perform DCE. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Diffstat (limited to 'silk/tables_other.c')
-rw-r--r--silk/tables_other.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/tables_other.c b/silk/tables_other.c
index dedff26f..3dc68d47 100644
--- a/silk/tables_other.c
+++ b/silk/tables_other.c
@@ -67,8 +67,8 @@ const opus_uint8 silk_stereo_pred_joint_iCDF[ 25 ] = {
const opus_uint8 silk_stereo_only_code_mid_iCDF[ 2 ] = { 64, 0 };
/* Tables for LBRR flags */
-const opus_uint8 silk_LBRR_flags_2_iCDF[ 3 ] = { 203, 150, 0 };
-const opus_uint8 silk_LBRR_flags_3_iCDF[ 7 ] = { 215, 195, 166, 125, 110, 82, 0 };
+static const opus_uint8 silk_LBRR_flags_2_iCDF[ 3 ] = { 203, 150, 0 };
+static const opus_uint8 silk_LBRR_flags_3_iCDF[ 7 ] = { 215, 195, 166, 125, 110, 82, 0 };
const opus_uint8 * const silk_LBRR_flags_iCDF_ptr[ 2 ] = {
silk_LBRR_flags_2_iCDF,
silk_LBRR_flags_3_iCDF