diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-04-10 03:34:37 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-04-10 03:34:37 +0000 |
commit | 9771852103ac6d8799829552c7eb2303d78583a9 (patch) | |
tree | e727aa0e6762d1085ce640faf8492137e7338aac /src | |
parent | 71247d1851433022fba3bec6567b4f4fe6c6a361 (diff) | |
download | xine-lib-9771852103ac6d8799829552c7eb2303d78583a9.tar.gz xine-lib-9771852103ac6d8799829552c7eb2303d78583a9.tar.bz2 |
somebody complained about a segfault here. it shouldn't hurt.
CVS patchset: 6371
CVS date: 2004/04/10 03:34:37
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/video_out_xshm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c index b9b1f30a8..fba668713 100644 --- a/src/video_out/video_out_xshm.c +++ b/src/video_out/video_out_xshm.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_xshm.c,v 1.127 2004/03/07 13:27:10 tmattern Exp $ + * $Id: video_out_xshm.c,v 1.128 2004/04/10 03:34:37 miguelfreitas Exp $ * * video_out_xshm.c, X11 shared memory extension interface for xine * @@ -878,7 +878,7 @@ static int xshm_gui_data_exchange (vo_driver_t *this_gen, if (this->cur_frame) { XExposeEvent * xev = (XExposeEvent *) data; - if (xev->count == 0) { + if (xev && xev->count == 0) { int i; XLockDisplay (this->display); |