diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-11 15:00:28 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-11 15:00:28 +0000 |
commit | 8241e0db4cf08e49434382fbaa8c556c0ae32a67 (patch) | |
tree | cb536afe2a418469a99cd31ab9d85d5b8abc4e1c /channels/chan_modem_i4l.c | |
parent | 5e175511fbef7ae2cb94384d145b2e6065570bce (diff) |
Increase max write size (bug #1601)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2945 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_modem_i4l.c')
-rwxr-xr-x | channels/chan_modem_i4l.c | 2 |
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; |