# HG changeset patch # User michael # Date 1077986483 0 # Node ID 0287241a0c180e8373530cf9f66b48355cbd659b # Parent b370288f004d70c1e082613dd04882bf196787a4 int64_t_C patch by (Gael Chardon ) diff -r b370288f004d -r 0287241a0c18 avcodec.h --- 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 { diff -r b370288f004d -r 0287241a0c18 common.h --- 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