mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 912613: remove last vestige of WebRTC_Word* types in big-endian builds only r=padenot DONTBUILD
This commit is contained in:
parent
f6dbbf0736
commit
ac2e6b8d42
@ -26,7 +26,7 @@ int16_t WebRtcPcm16b_EncodeW16(int16_t *speechIn16b,
|
||||
int16_t *speechOut16b)
|
||||
{
|
||||
#ifdef WEBRTC_BIG_ENDIAN
|
||||
memcpy(speechOut16b, speechIn16b, len * sizeof(WebRtc_Word16));
|
||||
memcpy(speechOut16b, speechIn16b, len * sizeof(int16_t));
|
||||
#else
|
||||
int i;
|
||||
for (i=0;i<len;i++) {
|
||||
@ -65,7 +65,7 @@ int16_t WebRtcPcm16b_DecodeW16(void *inst,
|
||||
int16_t* speechType)
|
||||
{
|
||||
#ifdef WEBRTC_BIG_ENDIAN
|
||||
memcpy(speechOut16b, speechIn16b, ((len*sizeof(WebRtc_Word16)+1)>>1));
|
||||
memcpy(speechOut16b, speechIn16b, ((len*sizeof(int16_t)+1)>>1));
|
||||
#else
|
||||
int i;
|
||||
int samples=len>>1;
|
||||
|
Loading…
Reference in New Issue
Block a user