x11grab: Check XFixesGetCursorImage return value
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 11 Sep 2014 12:28:44 +0000 (14:28 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 4 Oct 2014 21:46:46 +0000 (23:46 +0200)
commit5b9c817dc7577b6d44acc94d73b9c77c52cda489
tree0fd4790236396c5b11808a0e58ab3f65e1769f5f
parent89fa2b5616274194d90bde0aeebf6adbd1245193
x11grab: Check XFixesGetCursorImage return value

It could return NULL if the cursor is outside the screen, the connection
timed out or the system is out of memory.

CC: libav-stable@libav.org
libavdevice/x11grab.c