From 9efa7f82ce4adb51aeaa08fe535bd62735900bb4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 30 Jun 2014 21:31:43 +0200 Subject: [PATCH] avdevice/xv: fix missing { Found-by: jamrial Signed-off-by: Michael Niedermayer --- libavdevice/xv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/xv.c b/libavdevice/xv.c index 71857e6b83..aeb3e4114b 100644 --- a/libavdevice/xv.c +++ b/libavdevice/xv.c @@ -306,7 +306,7 @@ static int write_picture(AVFormatContext *s, AVPicture *pict) XEvent event; while (XPending(xv->display)) { XNextEvent(xv->display, &event); - if (event.type == ClientMessage && event.xclient.data.l[0] == xv->wm_delete_message) + if (event.type == ClientMessage && event.xclient.data.l[0] == xv->wm_delete_message) { av_log(xv, AV_LOG_DEBUG, "Window close event.\n"); return AVERROR(EPIPE); }