[FFmpeg-devel] [PATCH] Fix segfault in x11grab when drawing Cursor on Xservers that don't support the XFixes extension

Brenden Bain brenden.bain
Tue Jun 22 14:41:59 CEST 2010


On Tue, 2010-06-22 at 12:08 +0100, M?ns Rullg?rd wrote:
> Brenden Bain <brenden.bain at gmail.com> writes:
> 
> > Reformatted and changed information message printing when XFixes not
> > available to "Unable to query cursor shape. Using "arrow" mouse
> > cursor."
> 
> I would apply just the checks for the extension being present first,
> and add the fallback static image afterwards.
> 

Sorry, its not 100% clean to me what you mean here. Do you mean two
patches? If you want two patches the simplest fix is probably to just do
a "!= NULL" check. 

Brenden.





More information about the ffmpeg-devel mailing list