summaryrefslogtreecommitdiffstats
path: root/mpcommon.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-01 21:59:13 +0200
committerwm4 <wm4@nowhere>2012-09-18 21:04:47 +0200
commit53bfaecd40aa7b34dcc9c90064e36f2ffe227fc0 (patch)
tree7c8865437d2e48d1c9782c37520d04d3e0604dca /mpcommon.h
parent5a13f5a5e8dd63c899581db86c51c9bb093fcdde (diff)
downloadmpv-53bfaecd40aa7b34dcc9c90064e36f2ffe227fc0.tar.bz2
mpv-53bfaecd40aa7b34dcc9c90064e36f2ffe227fc0.tar.xz
core: remove duplicated format_time() functions
This was an on-going transition to make mplayer format all times in the same format.
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 d4ececc4b1..472a2e1943 100644
--- a/mpcommon.h
+++ b/mpcommon.h
@@ -20,6 +20,7 @@
#define MPLAYER_MPCOMMON_H
#include <stdlib.h>
+#include <stdbool.h>
// both int64_t and double should be able to represent this exactly
#define MP_NOPTS_VALUE (-1LL<<63)
@@ -77,4 +78,6 @@
extern const char *mplayer_version;
+char *mp_format_time(double time, bool fractions);
+
#endif /* MPLAYER_MPCOMMON_H */