From 2a24fe4ccca0ea973a60a4c4a70f0ca42b32cb41 Mon Sep 17 00:00:00 2001 From: Gael Chardon Date: Sat, 28 Feb 2004 16:41:23 +0000 Subject: int64_t_C patch by (Gael Chardon ) Originally committed as revision 2825 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 2 +- libavcodec/common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec') diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 1a5b368270..e6e03389c2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -26,7 +26,7 @@ extern "C" { #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 --git a/libavcodec/common.h b/libavcodec/common.h index d6d5cf2851..8f88b34b57 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -102,7 +102,7 @@ extern const struct AVOption avoptions_workaround_bug[11]; #endif /* HAVE_INTTYPES_H */ #ifndef INT64_MAX -#define INT64_MAX 9223372036854775807LL +#define INT64_MAX int64_t_C(9223372036854775807) #endif #ifdef EMULATE_FAST_INT -- cgit v1.2.3