Fix possible crash if Xv window is outside of either crtc
This commit is contained in:
parent
edd8817083
commit
9235531410
|
@ -2250,7 +2250,9 @@ xf86_crtc_clip_video_helper(ScrnInfoPtr pScrn,
|
|||
REGION_INIT (pScreen, &crtc_region_local, &crtc_box, 1);
|
||||
crtc_region = &crtc_region_local;
|
||||
REGION_INTERSECT (pScreen, crtc_region, crtc_region, reg);
|
||||
}
|
||||
} else
|
||||
return FALSE;
|
||||
|
||||
*crtc_ret = crtc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user