summaryrefslogtreecommitdiffstats
path: root/mpcommon.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-12 15:29:31 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-15 18:45:43 +0200
commite9022ec470e9334a6d0f3cb044027964ac4f63f6 (patch)
tree0e9c163e9489dbdab07f7e7dbb585f09c1b748d0 /mpcommon.h
parentadedee42851d413de87b479340eb015ee33b497b (diff)
downloadmpv-e9022ec470e9334a6d0f3cb044027964ac4f63f6.tar.bz2
mpv-e9022ec470e9334a6d0f3cb044027964ac4f63f6.tar.xz
cleanup: move MP_NOPTS_VALUE definition to mpcommon.h
Diffstat (limited to 'mpcommon.h')
-rw-r--r--mpcommon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpcommon.h b/mpcommon.h
index ac57ae9d02..82b860bd87 100644
--- a/mpcommon.h
+++ b/mpcommon.h
@@ -19,6 +19,9 @@
#ifndef MPLAYER_MPCOMMON_H
#define MPLAYER_MPCOMMON_H
+// both int64_t and double should be able to represent this exactly
+#define MP_NOPTS_VALUE (-1LL<<63)
+
extern const char *mplayer_version;
#endif /* MPLAYER_MPCOMMON_H */