changeset 1840:0287241a0c18 libavcodec

int64_t_C patch by (Gael Chardon <gael-announcements+ffmpeg at 4now dot net>)
author michael
date Sat, 28 Feb 2004 16:41:23 +0000
parents b370288f004d
children 05017f3b87d9
files avcodec.h common.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Sat Feb 28 15:03:53 2004 +0000
+++ b/avcodec.h	Sat Feb 28 16:41:23 2004 +0000
@@ -26,7 +26,7 @@
 #define AV_TOSTRING(s) #s
 #define LIBAVCODEC_IDENT	"FFmpeg" LIBAVCODEC_VERSION "b" AV_STRINGIFY(LIBAVCODEC_BUILD)
 
-#define AV_NOPTS_VALUE 0x8000000000000000LL
+#define AV_NOPTS_VALUE int64_t_C(0x8000000000000000)
 #define AV_TIME_BASE 1000000
 
 enum CodecID {
--- a/common.h	Sat Feb 28 15:03:53 2004 +0000
+++ b/common.h	Sat Feb 28 16:41:23 2004 +0000
@@ -102,7 +102,7 @@
 #endif /* HAVE_INTTYPES_H */
 
 #ifndef INT64_MAX
-#define INT64_MAX 9223372036854775807LL
+#define INT64_MAX int64_t_C(9223372036854775807)
 #endif
 
 #ifdef EMULATE_FAST_INT