summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libmusepack/mpc_decoder.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2011-06-01 10:28:26 +0000
committerNils Wallménius <nils@rockbox.org>2011-06-01 10:28:26 +0000
commit7c6056b352e35c5b12521b35ba193e13f75500be (patch)
treea53215338a7c78bd47ebb3afedf41c0489a97f4e /apps/codecs/libmusepack/mpc_decoder.c
parent05a1984eb32dd07bcf5d54c147ace4d6f56a00b4 (diff)
downloadrockbox-7c6056b352e35c5b12521b35ba193e13f75500be.tar.gz
rockbox-7c6056b352e35c5b12521b35ba193e13f75500be.zip
FS#12140 by Sean Bartell, Make various codec stuff static.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29942 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmusepack/mpc_decoder.c')
-rw-r--r--apps/codecs/libmusepack/mpc_decoder.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/apps/codecs/libmusepack/mpc_decoder.c b/apps/codecs/libmusepack/mpc_decoder.c
index eb0638524f..7bf7935d39 100644
--- a/apps/codecs/libmusepack/mpc_decoder.c
+++ b/apps/codecs/libmusepack/mpc_decoder.c
@@ -118,13 +118,15 @@ enum
//------------------------------------------------------------------------------
// forward declarations
//------------------------------------------------------------------------------
-void mpc_decoder_requantisierung (mpc_decoder *d)
- ICODE_ATTR_MPC_LARGE_IRAM;
-void mpc_decoder_read_bitstream_sv7(mpc_decoder * d, mpc_bits_reader * r)
- ICODE_ATTR_MPC_LARGE_IRAM;
-void mpc_decoder_read_bitstream_sv8(mpc_decoder * d, mpc_bits_reader * r,
- mpc_bool_t is_key_frame)
- ICODE_ATTR_MPC_SV8_BS_DEC;
+static void mpc_decoder_requantisierung (mpc_decoder *d)
+ ICODE_ATTR_MPC_LARGE_IRAM;
+static void mpc_decoder_read_bitstream_sv7(mpc_decoder * d,
+ mpc_bits_reader * r)
+ ICODE_ATTR_MPC_LARGE_IRAM;
+static void mpc_decoder_read_bitstream_sv8(mpc_decoder * d,
+ mpc_bits_reader * r,
+ mpc_bool_t is_key_frame)
+ ICODE_ATTR_MPC_SV8_BS_DEC;
//------------------------------------------------------------------------------
// macros
@@ -348,7 +350,7 @@ void mpc_decoder_decode_frame(mpc_decoder * d,
}
}
-void
+static void
mpc_decoder_requantisierung(mpc_decoder *d)
{
mpc_int32_t Band;
@@ -431,7 +433,7 @@ mpc_decoder_requantisierung(mpc_decoder *d)
}
}
-void mpc_decoder_read_bitstream_sv7(mpc_decoder * d, mpc_bits_reader * r)
+static void mpc_decoder_read_bitstream_sv7(mpc_decoder * d, mpc_bits_reader * r)
{
mpc_int32_t n, idx, Max_used_Band = 0;
@@ -580,7 +582,7 @@ void mpc_decoder_read_bitstream_sv7(mpc_decoder * d, mpc_bits_reader * r)
}
}
-void mpc_decoder_read_bitstream_sv8(mpc_decoder * d, mpc_bits_reader * r, mpc_bool_t is_key_frame)
+static void mpc_decoder_read_bitstream_sv8(mpc_decoder * d, mpc_bits_reader * r, mpc_bool_t is_key_frame)
{
mpc_int32_t n, Max_used_Band;
const mpc_can_data * Table, * Tables[2];