diff options
author | wm4 <wm4@nowhere> | 2019-05-25 22:11:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:04 +0200 |
commit | 281e9982905d4ca87510bb7e0a44650c537fc610 (patch) | |
tree | 7c1caf06e6e6ca6b46265d6d0c85b6890867eda5 | |
parent | 2c3c6aae66ec606eeb26593f94079b3e920df237 (diff) | |
download | mpv-281e9982905d4ca87510bb7e0a44650c537fc610.tar.bz2 mpv-281e9982905d4ca87510bb7e0a44650c537fc610.tar.xz |
player: make a function static
-rw-r--r-- | player/core.h | 1 | ||||
-rw-r--r-- | player/misc.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/player/core.h b/player/core.h index d2183a7537..0294b77025 100644 --- a/player/core.h +++ b/player/core.h @@ -551,7 +551,6 @@ void mp_update_logging(struct MPContext *mpctx, bool preinit); void issue_refresh_seek(struct MPContext *mpctx, enum seek_precision min_prec); // misc.c -double rel_time_to_abs(struct MPContext *mpctx, struct m_rel_time t); double get_play_end_pts(struct MPContext *mpctx); double get_play_start_pts(struct MPContext *mpctx); double get_ab_loop_start_time(struct MPContext *mpctx); diff --git a/player/misc.c b/player/misc.c index 633ec6917d..ec8812f773 100644 --- a/player/misc.c +++ b/player/misc.c @@ -45,7 +45,7 @@ #include "core.h" #include "command.h" -double rel_time_to_abs(struct MPContext *mpctx, struct m_rel_time t) +static double rel_time_to_abs(struct MPContext *mpctx, struct m_rel_time t) { double length = get_time_length(mpctx); // declaration up here because of C grammar quirk |