mirror of
https://github.com/librempeg/librempeg
synced 2024-11-21 16:44:05 +00:00
avdevice/xv: fix missing {
Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
847bb638c0
commit
9efa7f82ce
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user