diff options
author | wm4 <wm4@nowhere> | 2020-09-21 19:31:15 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-09-21 19:31:15 +0200 |
commit | 95e3a6e67e093741dc6cef37dad3618b5924fa45 (patch) | |
tree | 0a18f79ccd2c791f79c4cc230336c53a8f22403d /filters/frame.c | |
parent | 1f21be343a014155b292824d5df862275f85531c (diff) | |
download | mpv-95e3a6e67e093741dc6cef37dad3618b5924fa45.tar.bz2 mpv-95e3a6e67e093741dc6cef37dad3618b5924fa45.tar.xz |
terminal: fix segfault when backgrounding
In the recent terminal commit, I "compressed" the read() error handling,
and messed it up. The return value could be -1 for other non-fatal
errors (such as EIO when trying to read while backgrounded), which
resulted in buf.len getting messed up.
Fixes: 602384348e718c77
Diffstat (limited to 'filters/frame.c')
0 files changed, 0 insertions, 0 deletions