xd: fix swizz8 loop counting

This commit is contained in:
Xiao-Yong Jin 2021-01-29 05:30:08 +00:00 committed by Dan Cross
parent 4056d6be4d
commit 20c14efad6

View file

@ -327,7 +327,7 @@ swizz8(void)
*q++ = *p++; *q++ = *p++;
p = data; p = data;
q = swdata; q = swdata;
for(i=0; i<8; i++){ for(i=0; i<2; i++){
p[0] = q[7]; p[0] = q[7];
p[1] = q[6]; p[1] = q[6];
p[2] = q[5]; p[2] = q[5];