diff --git a/libavutil/avutil.h b/libavutil/avutil.h index 94f9ee85bd44989d86d956013cdcd955263c638b..cd02b35d8c08d03eb31af13f932d382a63ed7c93 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -223,7 +223,7 @@ const char *av_get_media_type_string(enum AVMediaType media_type); * either pts or dts. */ -#define AV_NOPTS_VALUE INT64_C(0x8000000000000000) +#define AV_NOPTS_VALUE ((int64_t)UINT64_C(0x8000000000000000)) /** * Internal time base represented as integer