use a local variable to store volume

This commit is contained in:
Alexandre Ratchov 2012-10-06 12:27:03 +02:00
parent aecccdb36f
commit 258123a17c
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ cmap_copy(struct cmap *p, void *in, void *out, int vol, int todo)
for (j = ostart; j > 0; j--)
*odata++ = 0x1111;
for (j = nch; j > 0; j--) {
*odata = ADATA_MUL(*idata, vol);
*odata = ADATA_MUL(*idata, v);
odata++;
idata++;
}