diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-03 22:23:26 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-03 22:23:26 +0000 |
commit | e24087509a752d8f4dcc679b304fc1745ff768b0 (patch) | |
tree | 60bbaca1e13f268df83d5d88c1daa49debacc541 /libfaad2/fixed.h | |
parent | 22c9bcf82417c33258c74104704f196f6672f696 (diff) | |
download | mpv-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/fixed.h')
-rw-r--r-- | libfaad2/fixed.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libfaad2/fixed.h b/libfaad2/fixed.h index 0c0c4d8c09..4cca15cdef 100644 --- a/libfaad2/fixed.h +++ b/libfaad2/fixed.h @@ -22,7 +22,7 @@ ** Commercial non-GPL licensing of this software is possible. ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. ** -** $Id: fixed.h,v 1.9 2003/07/29 08:20:12 menno Exp $ +** $Id: fixed.h,v 1.1 2003/08/30 22:30:21 arpi Exp $ **/ #ifndef __FIXED_H__ @@ -35,15 +35,15 @@ extern "C" { #define COEF_BITS 28 #define COEF_PRECISION (1 << COEF_BITS) -#define REAL_BITS 15 //7 +#define REAL_BITS 14 // MAXIMUM OF 14 FOR FIXED POINT SBR #define REAL_PRECISION (1 << REAL_BITS) typedef int32_t real_t; -#define REAL_CONST(A) ((real_t)(A*(REAL_PRECISION))) -#define COEF_CONST(A) ((real_t)(A*(COEF_PRECISION))) +#define REAL_CONST(A) ((real_t)((A)*(REAL_PRECISION))) +#define COEF_CONST(A) ((real_t)((A)*(COEF_PRECISION))) #if defined(_WIN32) && !defined(_WIN32_WCE) |