diff options
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/threads.c b/osdep/threads.c index c41007b2cb..2a5938cee5 100644 --- a/osdep/threads.c +++ b/osdep/threads.c @@ -46,7 +46,7 @@ int mpthread_mutex_init_recursive(pthread_mutex_t *mutex) void mpthread_set_name(const char *name) { - char tname[90]; + char tname[16]; snprintf(tname, sizeof(tname), "mpv %s", name); #if HAVE_GLIBC_THREAD_NAME pthread_setname_np(pthread_self(), tname); |