diff options
Diffstat (limited to 'player/main.c')
-rw-r--r-- | player/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/main.c b/player/main.c index bc14bbce1c..d744c9cf12 100644 --- a/player/main.c +++ b/player/main.c @@ -189,7 +189,7 @@ void mp_destroy(struct MPContext *mpctx) uninit_libav(mpctx->global); mp_msg_uninit(mpctx->global); - pthread_mutex_destroy(&mpctx->lock); + pthread_mutex_destroy(&mpctx->abort_lock); talloc_free(mpctx); } @@ -283,7 +283,7 @@ struct MPContext *mp_create(void) .thread_pool = mp_thread_pool_create(mpctx, 0, 1, 30), }; - pthread_mutex_init(&mpctx->lock, NULL); + pthread_mutex_init(&mpctx->abort_lock, NULL); mpctx->global = talloc_zero(mpctx, struct mpv_global); |