summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-04-03 12:56:50 +0200
committerwm4 <wm4@nowhere>2020-04-03 12:56:50 +0200
commitb6655dd72cb91c20198b211c2afbce6f136b8f08 (patch)
treecdcf39c87b1e27becde8007ed2cc7e83393b0696
parent5824ac7d36b84acb244729bad7cb0ef7ffcc09d2 (diff)
downloadmpv-b6655dd72cb91c20198b211c2afbce6f136b8f08.tar.bz2
mpv-b6655dd72cb91c20198b211c2afbce6f136b8f08.tar.xz
player: make a function static
-rw-r--r--player/core.h1
-rw-r--r--player/playloop.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/player/core.h b/player/core.h
index 9472dfefd3..a78b2b2a37 100644
--- a/player/core.h
+++ b/player/core.h
@@ -587,7 +587,6 @@ void mp_wakeup_core(struct MPContext *mpctx);
void mp_wakeup_core_cb(void *ctx);
void mp_core_lock(struct MPContext *mpctx);
void mp_core_unlock(struct MPContext *mpctx);
-void mp_process_input(struct MPContext *mpctx);
double get_relative_time(struct MPContext *mpctx);
void reset_playback_state(struct MPContext *mpctx);
void set_pause_state(struct MPContext *mpctx, bool user_pause);
diff --git a/player/playloop.c b/player/playloop.c
index f581e92f28..a103de59f1 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -107,7 +107,7 @@ void mp_core_unlock(struct MPContext *mpctx)
}
// Process any queued user input.
-void mp_process_input(struct MPContext *mpctx)
+static void mp_process_input(struct MPContext *mpctx)
{
for (;;) {
mp_cmd_t *cmd = mp_input_read_cmd(mpctx->input);