diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2010-08-13 22:24:26 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2010-08-13 22:24:26 +0200 |
commit | 00d390952c912d4e9fc2c962caaeb90bf563d5b1 (patch) | |
tree | 227946da5f1dcb11ad6051ae286cf4db364aaf5c | |
parent | f5b486dd237679aec1987985f9ecffc6a4fd3105 (diff) | |
download | xorg-driver-xf86-video-nouveau-00d390952c912d4e9fc2c962caaeb90bf563d5b1.tar.gz |
nv50/xv: Fix the uncommon codepath to use width/height variable.
- The common codepath should be the correct one, because that is
triggered often, while the other is rare.
- This isn't neccesarily a problem, but let's be on the safe side.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
-rw-r--r-- | src/nv50_xv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv50_xv.c b/src/nv50_xv.c index 9be8156..2e0f080 100644 --- a/src/nv50_xv.c +++ b/src/nv50_xv.c @@ -331,7 +331,7 @@ nv50_xv_image_put(ScrnInfoPtr pScrn, if (AVAIL_RING(chan) < 64) { if (!nv50_xv_state_emit(ppix, id, src, packed_y, uv, - src_w, src_h)) + width, height)) return BadAlloc; } |