From: Alexander Traud Date: Mon, 12 Feb 2018 11:38:21 +0000 (+0100) Subject: codecs: Add support for WebRTC iLBC 2.0. X-Git-Tag: 13.20.0-rc1~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81bec7c359f722c4d1dec4787df2e2567264c5aa;p=thirdparty%2Fasterisk.git codecs: Add support for WebRTC iLBC 2.0. When the latest version of that library was installed, Asterisk did not build. ASTERISK-27669 Reported by: Николай Михо Change-Id: I27e09bb875fdd56423bd9fae1be85fddb428eb96 --- diff --git a/codecs/codec_ilbc.c b/codecs/codec_ilbc.c index 026fe9ad80..3d63caa7ec 100644 --- a/codecs/codec_ilbc.c +++ b/codecs/codec_ilbc.c @@ -41,8 +41,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #ifdef ILBC_WEBRTC #include -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"