diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-01-26 19:09:47 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-01-26 19:09:47 +0000 |
commit | 9ff5f17543cbd94198205af428ee151d3bacc1d7 (patch) | |
tree | 27eba5cd415e0bf2f65f584e46d18f96259662f6 | |
parent | 11a8a71d4e31a15dfbbaf7c63c1b452d8c5bcdcb (diff) | |
download | ffmpeg-9ff5f17543cbd94198205af428ee151d3bacc1d7.tar.gz |
int64max fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2725 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/common.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h index 74802675ec..48d923169b 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -22,10 +22,6 @@ #define M_PI 3.14159265358979323846 #endif -#ifndef INT64_MAX -#define INT64_MAX 9223372036854775807LL -#endif - #ifdef HAVE_AV_CONFIG_H /* only include the following when compiling package */ # include "config.h" @@ -105,6 +101,10 @@ extern const struct AVOption avoptions_workaround_bug[11]; # endif /* other OS */ #endif /* HAVE_INTTYPES_H */ +#ifndef INT64_MAX +#define INT64_MAX 9223372036854775807LL +#endif + #ifdef EMULATE_FAST_INT /* note that we don't emulate 64bit ints */ typedef signed char int_fast8_t; |