diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-14 18:49:40 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-05-14 18:49:40 +0000 |
commit | d185cf49286aaf5940c1d70b9d00768207934990 (patch) | |
tree | 2b9ba0767c45ed6195ebbb0141b3d7b34fa17757 /codecs | |
parent | 8da27f17baab8987de12faf0a6f54de759e54715 (diff) |
Merged revisions 64278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64278 | file | 2007-05-14 14:48:33 -0400 (Mon, 14 May 2007) | 2 lines
Properly set datalen field when doing PLC in codec_speex. (issue #9722 reported by mihai)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64279 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rw-r--r-- | codecs/codec_speex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/codecs/codec_speex.c b/codecs/codec_speex.c index 7a66b459f..c08de5879 100644 --- a/codecs/codec_speex.c +++ b/codecs/codec_speex.c @@ -223,6 +223,7 @@ static int speextolin_framein(struct ast_trans_pvt *pvt, struct ast_frame *f) } #endif pvt->samples += tmp->framesize; + pvt->datalen += 2 * tmp->framesize; /* 2 bytes/sample */ return 0; } |