[FFmpeg-cvslog] avdevice/xv: fix missing {

Michael Niedermayer git at videolan.org
Mon Jun 30 21:33:15 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun 30 21:31:43 2014 +0200| [9efa7f82ce4adb51aeaa08fe535bd62735900bb4] | committer: Michael Niedermayer

avdevice/xv: fix missing {

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9efa7f82ce4adb51aeaa08fe535bd62735900bb4
---

 libavdevice/xv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/xv.c b/libavdevice/xv.c
index 71857e6..aeb3e41 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);
             }



More information about the ffmpeg-cvslog mailing list