From 964565519cb06503215c45d8f1002e8354d8702f Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Tue, 11 May 2004 15:00:28 +0000 Subject: [PATCH] Increase max write size (bug #1601) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2945 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_modem_i4l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_modem_i4l.c b/channels/chan_modem_i4l.c index c011a9f..a8d08a6 100755 --- a/channels/chan_modem_i4l.c +++ b/channels/chan_modem_i4l.c @@ -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) { -#define MAX_WRITE_SIZE 1024 +#define MAX_WRITE_SIZE 2048 unsigned char result[MAX_WRITE_SIZE << 1]; unsigned char b; int bpos=0, x; -- 1.7.9.5