diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-12-08 11:10:59 -0500 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2017-12-08 19:58:36 +0200 |
commit | 0f9a690eba9184c8f2c86e4a975612aff49cc9e8 (patch) | |
tree | 8f77e47dbcbc273cd23099fdfb49519435808ea1 /options/m_option.c | |
parent | 3c62a20f48dc3e625f76acdd76c26bfb888d598e (diff) | |
download | mpv-0f9a690eba9184c8f2c86e4a975612aff49cc9e8.tar.bz2 mpv-0f9a690eba9184c8f2c86e4a975612aff49cc9e8.tar.xz |
terminal-unix: fix busy looping on Linux
POSIX permits select() to modify the timeout, which can happen on the
Linux implementation. This can reset the timeout, which spins this into
a tight loop. A timeout isn't necessary in the first place, so just use
NULL instead.
Diffstat (limited to 'options/m_option.c')
0 files changed, 0 insertions, 0 deletions