aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-30 21:31:43 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-30 21:32:19 +0200
commit9efa7f82ce4adb51aeaa08fe535bd62735900bb4 (patch)
treea9985b2a787317b9934a5d63f4d206b20b5a7d25
parent847bb638c0985adb14e4aeb499801d9dd8786090 (diff)
downloadffmpeg-9efa7f82ce4adb51aeaa08fe535bd62735900bb4.tar.gz
avdevice/xv: fix missing {
Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavdevice/xv.c2
1 files changed, 1 insertions, 1 deletions
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);
}