OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f202b0
)
UINT64_MAX fix
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 11 May 2004 12:24:42 +0000
(12:24 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 11 May 2004 12:24:42 +0000
(12:24 +0000)
Originally committed as revision 3125 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/common.h
patch
|
blob
|
history
diff --git
a/libavcodec/common.h
b/libavcodec/common.h
index
b0a3db5
..
d398b39
100644
(file)
--- 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;