aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-11 12:24:42 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-11 12:24:42 +0000
commitcaa50878f4c5f323467ada8f1b63458bf5f7b810 (patch)
treef4ca93eb269faadcdd6eea0cbb282387dd753ec5
parent1f202b0d46067375fbb7a7a6a164bb7f960dce96 (diff)
downloadffmpeg-caa50878f4c5f323467ada8f1b63458bf5f7b810.tar.gz
UINT64_MAX fix
Originally committed as revision 3125 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h
index b0a3db526d..d398b397fb 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -115,6 +115,10 @@ extern const struct AVOption avoptions_workaround_bug[11];
#define INT64_MAX int64_t_C(9223372036854775807)
#endif
+#ifndef UINT64_MAX
+#define UINT64_MAX uint64_t_C(0xFFFFFFFFFFFFFFFF)
+#endif
+
#ifdef EMULATE_FAST_INT
/* note that we don't emulate 64bit ints */
typedef signed char int_fast8_t;