1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 12:17:12 +00:00

player: make a function static

This commit is contained in:
wm4 2020-04-03 12:56:50 +02:00
parent 5824ac7d36
commit b6655dd72c
2 changed files with 1 additions and 2 deletions

View File

@ -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);

View File

@ -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);