summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libmad/layer3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libmad/layer3.c')
-rw-r--r--lib/rbcodec/codecs/libmad/layer3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libmad/layer3.c b/lib/rbcodec/codecs/libmad/layer3.c
index ffb0fb20ff..48bb643b93 100644
--- a/lib/rbcodec/codecs/libmad/layer3.c
+++ b/lib/rbcodec/codecs/libmad/layer3.c
@@ -339,7 +339,7 @@ unsigned char const pretab[22] = {
339 * format rq_table: bit31-27=exponent bit26-0=mantissa 339 * format rq_table: bit31-27=exponent bit26-0=mantissa
340 */ 340 */
341static 341static
342unsigned long const rq_table[8207] = { 342uint32_t const rq_table[8207] = {
343# include "rq_table.dat" 343# include "rq_table.dat"
344}; 344};
345 345
@@ -885,7 +885,7 @@ mad_fixed_t III_requantize(unsigned int value, signed int exp)
885{ 885{
886 mad_fixed_t requantized; 886 mad_fixed_t requantized;
887 signed int frac; 887 signed int frac;
888 unsigned long power; 888 uint32_t power;
889 889
890 frac = exp % 4; /* assumes sign(frac) == sign(exp) */ 890 frac = exp % 4; /* assumes sign(frac) == sign(exp) */
891 exp /= 4; 891 exp /= 4;