Fix Int32ToBytes on cgo vector
This commit is contained in:
parent
439ad19af8
commit
e26156194d
|
@ -222,7 +222,7 @@ void audio_int32_to_bytes(int32_t* restrict data, size_t data_len, int8_t* restr
|
|||
}
|
||||
break;
|
||||
case 32:
|
||||
memcpy(buffer, data, data_len);
|
||||
memcpy(buffer, data, sizeof(int32_t) * data_len);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue