Make sure chan_iax.c and chan_iax2.c know the size of G726 frames

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich
2004-03-07 22:57:00 +00:00
parent d9359f8249
commit f2b52d46d0
2 changed files with 2 additions and 0 deletions

View File

@@ -647,6 +647,7 @@ static int get_samples(struct ast_frame *f)
samples = f->datalen;
break;
case AST_FORMAT_ADPCM:
case AST_FORMAT_G726:
samples = f->datalen *2;
break;
default: