summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-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