summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-05-11 15:00:28 +0000
committerMark Spencer <markster@digium.com>2004-05-11 15:00:28 +0000
commit964565519cb06503215c45d8f1002e8354d8702f (patch)
treecb536afe2a418469a99cd31ab9d85d5b8abc4e1c
parent960c01e4c62e0dc0f766636dc6f058132c14bd47 (diff)
Increase max write size (bug #1601)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xchannels/chan_modem_i4l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_modem_i4l.c b/channels/chan_modem_i4l.c
index c011a9fc8..a8d08a631 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;