projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(U-00028677): Unify H10-B5B1.
[chise/xemacs-chise.git]
/
src
/
miscplay.c
diff --git
a/src/miscplay.c
b/src/miscplay.c
index
e2366b7
..
2257634
100644
(file)
--- a/
src/miscplay.c
+++ b/
src/miscplay.c
@@
-360,8
+360,11
@@
size_t sndcnv8U_2mono(void **data,size_t *sz,void **outbuf)
*outbuf =
dest = miscplay_sndbuf;
while (count--)
- *dest++ = (unsigned char)(((int)*(src)++ +
- (int)*(src)++) / 2);
+ {
+ *dest++ = (unsigned char)(((int)*(src) +
+ (int)*(src+1)) / 2);
+ src += 2;
+ }
*data = src;
return(rc);
}