Increase max write size (bug #1601)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-05-11 15:00:28 +00:00
parent 960c01e4c6
commit 964565519c

View File

@@ -428,7 +428,7 @@ static struct ast_frame *i4l_read(struct ast_modem_pvt *p)
static int i4l_write(struct ast_modem_pvt *p, struct ast_frame *f) static int i4l_write(struct ast_modem_pvt *p, struct ast_frame *f)
{ {
#define MAX_WRITE_SIZE 1024 #define MAX_WRITE_SIZE 2048
unsigned char result[MAX_WRITE_SIZE << 1]; unsigned char result[MAX_WRITE_SIZE << 1];
unsigned char b; unsigned char b;
int bpos=0, x; int bpos=0, x;