提交 e2f909be 编写于 作者: B bellard

swapped memset args (Charles Coffing)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2081 c046a42c-6fe2-441c-8c8c-71466251a162
上级 7f1a8398
......@@ -605,11 +605,11 @@ void audio_pcm_info_clear_buf (struct audio_pcm_info *info, void *buf, int len)
}
if (info->sign) {
memset (buf, len << info->shift, 0x00);
memset (buf, 0x00, len << info->shift);
}
else {
if (info->bits == 8) {
memset (buf, len << info->shift, 0x80);
memset (buf, 0x80, len << info->shift);
}
else {
int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册