diff --git a/src/i915_video.c b/src/i915_video.c index c73615e6..ae2e6bb5 100644 --- a/src/i915_video.c +++ b/src/i915_video.c @@ -74,6 +74,8 @@ I915DisplayVideoTextured(ScrnInfoPtr scrn, dstRegion->extents.y2 - dyo, pixmap->drawable.depth, CREATE_PIXMAP_USAGE_SCRATCH); + if (target == NULL) + return; pix_xoff = -dxo; pix_yoff = -dyo;