From 81bec7c359f722c4d1dec4787df2e2567264c5aa Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Mon, 12 Feb 2018 12:38:21 +0100 Subject: [PATCH] codecs: Add support for WebRTC iLBC 2.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When the latest version of that library was installed, Asterisk did not build. ASTERISK-27669 Reported by: Николай Михо Change-Id: I27e09bb875fdd56423bd9fae1be85fddb428eb96 --- codecs/codec_ilbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"