aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/codec_speex.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-24 15:28:29 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-24 15:28:29 +0000
commit943e4bad3dad518eedc05a544b9fb735a24c1a54 (patch)
tree51c587dfda5030e184f229b4435fb6bd57e1b37d /codecs/codec_speex.c
parenta7048e08b09d84023ae0154a7249ead8ba7db2e2 (diff)
Merged revisions 65877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r65877 | qwell | 2007-05-24 11:14:02 -0400 (Thu, 24 May 2007) | 4 lines Fix handling of zero-length frames when a codec is capable of native PLC. Issue 9183, patch by Mihai. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65903 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/codec_speex.c')
-rw-r--r--codecs/codec_speex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/codecs/codec_speex.c b/codecs/codec_speex.c
index c08de5879..182b33eb9 100644
--- a/codecs/codec_speex.c
+++ b/codecs/codec_speex.c
@@ -358,6 +358,7 @@ static struct ast_translator speextolin = {
.desc_size = sizeof(struct speex_coder_pvt),
.buffer_samples = BUFFER_SAMPLES,
.buf_size = BUFFER_SAMPLES * 2,
+ .native_plc = 1,
};
static struct ast_translator lintospeex = {