diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-06-25 14:11:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-06-25 14:11:44 +0000 |
commit | 0ff93477be92f76608d816361bb5efe35d663ae1 (patch) | |
tree | 52003029142fab2a51e2260a6d36187f8ffd6632 /libavcodec/common.h | |
parent | 4c99f2cdbed8bb7e6c40cf9a057aa6569d6a33eb (diff) | |
download | ffmpeg-0ff93477be92f76608d816361bb5efe35d663ae1.tar.gz |
optimization
Originally committed as revision 3249 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r-- | libavcodec/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h index d398b397fb..02a491a58a 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -129,6 +129,14 @@ typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; #endif +#ifndef INT_BIT +# if INT_MAX == INT64_MAX +# define INT_BIT 64 +# else +# define INT_BIT 32 +# endif +#endif + #if defined(CONFIG_OS2) || defined(CONFIG_SUNOS) static inline float floorf(float f) { return floor(f); |