projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab8dbe
)
st/xorg: Fix infinite loop in copy_packed_data.
author
Vinson Lee
<vlee@vmware.com>
Thu, 19 Nov 2009 22:38:39 +0000
(14:38 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 19 Nov 2009 22:40:00 +0000
(14:40 -0800)
src/gallium/state_trackers/xorg/xorg_xv.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_xv.c
b/src/gallium/state_trackers/xorg/xorg_xv.c
index
7cc532b
..
a1e74fa
100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_xv.c
+++ b/
src/gallium/state_trackers/xorg/xorg_xv.c
@@
-256,7
+256,7
@@
copy_packed_data(ScrnInfoPtr pScrn,
switch (id) {
case FOURCC_YV12: {
for (i = 0; i < w; ++i) {
- for (j = 0;
i
< h; ++j) {
+ for (j = 0;
j
< h; ++j) {
/*XXX use src? */
y1 = buf[j*w + i];
u = buf[(j/2) * (w/2) + i/2 + y_array_size];