diff options
author | Michel Dänzer <daenzer@debian.org> | 2007-09-22 14:19:10 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-09-22 14:19:10 -0400 |
commit | 9109e62e3be7f96b41b534ab517fdf1baf458806 (patch) | |
tree | 47e42459947169515786374d9f63d43d8ad26bc2 /src/radeon_video.c | |
parent | d2ce4a5003ce1291ea2327b2c00a0b24408fe26c (diff) |
RADEON: fix crash when Xv window is outside of either crtc
Should fix bug 12175
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r-- | src/radeon_video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c index 271f7fe..bbd743b 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -215,7 +215,8 @@ radeon_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; } |