summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_wayland.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-09-21 19:31:15 +0200
committerwm4 <wm4@nowhere>2020-09-21 19:31:15 +0200
commit95e3a6e67e093741dc6cef37dad3618b5924fa45 (patch)
tree0a18f79ccd2c791f79c4cc230336c53a8f22403d /video/out/opengl/context_wayland.c
parent1f21be343a014155b292824d5df862275f85531c (diff)
downloadmpv-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 'video/out/opengl/context_wayland.c')
0 files changed, 0 insertions, 0 deletions