summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 29b1baabdd..07476ad7c3 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -596,14 +596,14 @@ static void wait_event_fd(struct vo *vo, int64_t until_time)
if (fds[1].revents & POLLIN) {
char buf[100];
- read(in->wakeup_pipe[0], buf, sizeof(buf)); // flush
+ (void)read(in->wakeup_pipe[0], buf, sizeof(buf)); // flush
}
}
static void wakeup_event_fd(struct vo *vo)
{
struct vo_internal *in = vo->in;
- write(in->wakeup_pipe[1], &(char){0}, 1);
+ (void)write(in->wakeup_pipe[1], &(char){0}, 1);
}
#else
static void wait_event_fd(struct vo *vo, int64_t until_time){}