mirror of https://github.com/mpv-player/mpv
d431111b06
The struct m_thread_info pointer is part of an array, that will be reallocated if another thread is created while the run_thread is just being called. In previous versions of this code, the pointer was stable (as long as the thread existed), so this was overlooked. Fixes #4770. I'm not sure why this triggers it so reliably, while it remained undetected otherwise. |
||
---|---|---|
.. | ||
include | ||
pthread.c |