summaryrefslogtreecommitdiffstats
path: root/libfaad2/common.h
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-03 22:23:26 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-03 22:23:26 +0000
commite24087509a752d8f4dcc679b304fc1745ff768b0 (patch)
tree60bbaca1e13f268df83d5d88c1daa49debacc541 /libfaad2/common.h
parent22c9bcf82417c33258c74104704f196f6672f696 (diff)
downloadmpv-e24087509a752d8f4dcc679b304fc1745ff768b0.tar.bz2
mpv-e24087509a752d8f4dcc679b304fc1745ff768b0.tar.xz
synced with current cvs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10990 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libfaad2/common.h')
-rw-r--r--libfaad2/common.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libfaad2/common.h b/libfaad2/common.h
index c622913ae0..2b0c204fee 100644
--- a/libfaad2/common.h
+++ b/libfaad2/common.h
@@ -242,8 +242,8 @@ char *strchr(), *strrchr();
#define MUL_C_C(A,B) ((A)*(B))
#define MUL_R_C(A,B) ((A)*(B))
- #define REAL_CONST(A) ((real_t)A)
- #define COEF_CONST(A) ((real_t)A)
+ #define REAL_CONST(A) ((real_t)(A))
+ #define COEF_CONST(A) ((real_t)(A))
#else /* Normal floating point operation */
@@ -253,8 +253,8 @@ char *strchr(), *strrchr();
#define MUL_C_C(A,B) ((A)*(B))
#define MUL_R_C(A,B) ((A)*(B))
- #define REAL_CONST(A) ((real_t)A)
- #define COEF_CONST(A) ((real_t)A)
+ #define REAL_CONST(A) ((real_t)(A))
+ #define COEF_CONST(A) ((real_t)(A))
#ifdef __ICL /* only Intel C compiler has fmath ??? */
@@ -307,6 +307,7 @@ typedef real_t complex_t[2];
int32_t int_log2(int32_t val);
uint32_t random_int(void);
uint8_t get_sr_index(uint32_t samplerate);
+uint32_t get_sample_rate(uint8_t sr_index);
int8_t can_decode_ot(uint8_t object_type);
#ifndef M_PI