]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
codecs: Add support for WebRTC iLBC 2.0.
authorAlexander Traud <pabstraud@compuserve.com>
Mon, 12 Feb 2018 11:38:21 +0000 (12:38 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Mon, 12 Feb 2018 11:39:49 +0000 (05:39 -0600)
When the latest version of that library was installed, Asterisk did not build.

ASTERISK-27669
Reported by: Николай Михо

Change-Id: I27e09bb875fdd56423bd9fae1be85fddb428eb96

codecs/codec_ilbc.c

index 026fe9ad80f8a9f6922984998321dc989a0a17a9..3d63caa7ec8aaf403e5b214dbb600d03e49ff84d 100644 (file)
@@ -41,8 +41,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #ifdef ILBC_WEBRTC
 #include <ilbc.h>
-typedef WebRtc_UWord16 ilbc_bytes;
-typedef WebRtc_Word16  ilbc_block;
+typedef uint16_t ilbc_bytes;
+typedef int16_t  ilbc_block;
 #define BUF_TYPE i16
 #else
 #include "ilbc/iLBC_encode.h"