mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user