Remove Clang warning for PCM16B.
Review URL: http://webrtc-codereview.appspot.com/137006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@491 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -66,6 +66,8 @@ WebRtc_Word16 WebRtcPcm16b_DecodeW16(void *inst,
|
|||||||
WebRtc_Word16 *speechOut16b,
|
WebRtc_Word16 *speechOut16b,
|
||||||
WebRtc_Word16* speechType)
|
WebRtc_Word16* speechType)
|
||||||
{
|
{
|
||||||
|
// Avoid warning
|
||||||
|
(void)(inst = NULL);
|
||||||
#ifdef WEBRTC_BIG_ENDIAN
|
#ifdef WEBRTC_BIG_ENDIAN
|
||||||
WEBRTC_SPL_MEMCPY_W8(speechOut16b, speechIn16b, ((len*sizeof(WebRtc_Word16)+1)>>1));
|
WEBRTC_SPL_MEMCPY_W8(speechOut16b, speechIn16b, ((len*sizeof(WebRtc_Word16)+1)>>1));
|
||||||
#else
|
#else
|
||||||
@ -97,4 +99,3 @@ WebRtc_Word16 WebRtcPcm16b_Decode(unsigned char *speech8b,
|
|||||||
}
|
}
|
||||||
return(samples);
|
return(samples);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user