diff options
-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; } |