summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/libmad/layer12.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libmad/layer12.c b/apps/codecs/libmad/layer12.c
index fb71fb059d..76adb09703 100644
--- a/apps/codecs/libmad/layer12.c
+++ b/apps/codecs/libmad/layer12.c
@@ -50,7 +50,7 @@ mad_fixed_t const sf_table[64] ICONST_ATTR = {
50 50
51/* linear scaling table */ 51/* linear scaling table */
52static 52static
53mad_fixed_t const linear_table[14] = { 53mad_fixed_t const linear_table[14] IDATA_ATTR = {
54 MAD_F(0x15555555), /* 2^2 / (2^2 - 1) == 1.33333333333333 */ 54 MAD_F(0x15555555), /* 2^2 / (2^2 - 1) == 1.33333333333333 */
55 MAD_F(0x12492492), /* 2^3 / (2^3 - 1) == 1.14285714285714 */ 55 MAD_F(0x12492492), /* 2^3 / (2^3 - 1) == 1.14285714285714 */
56 MAD_F(0x11111111), /* 2^4 / (2^4 - 1) == 1.06666666666667 */ 56 MAD_F(0x11111111), /* 2^4 / (2^4 - 1) == 1.06666666666667 */
@@ -71,7 +71,7 @@ mad_fixed_t const linear_table[14] = {
71 * NAME: I_sample() 71 * NAME: I_sample()
72 * DESCRIPTION: decode one requantized Layer I sample from a bitstream 72 * DESCRIPTION: decode one requantized Layer I sample from a bitstream
73 */ 73 */
74static 74static inline
75mad_fixed_t I_sample(struct mad_bitptr *ptr, unsigned int nb) 75mad_fixed_t I_sample(struct mad_bitptr *ptr, unsigned int nb)
76{ 76{
77 mad_fixed_t sample; 77 mad_fixed_t sample;