aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGael Chardon <gael.ffmpeg@4now.net>2004-02-28 16:41:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-02-28 16:41:23 +0000
commit2a24fe4ccca0ea973a60a4c4a70f0ca42b32cb41 (patch)
tree9e8e3bead584bf2f2356bcebe2b13b0bac351d97
parent853d659d6fed7903726300a0b06cbe3c73236800 (diff)
downloadffmpeg-2a24fe4ccca0ea973a60a4c4a70f0ca42b32cb41.tar.gz
int64_t_C patch by (Gael Chardon <gael-announcements+ffmpeg at 4now dot net>)
Originally committed as revision 2825 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/avcodec.h2
-rw-r--r--libavcodec/common.h2
2 files changed, 2 insertions, 2 deletions
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