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: 15.3.0-rc1~38^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bbaa104accee1561ab29a60a77ff015922dabc0;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 d691f706f3..536d68026e 100644 --- a/codecs/codec_ilbc.c +++ b/codecs/codec_ilbc.c @@ -42,8 +42,8 @@ #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"