projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Increase max write size (bug #1601)
[asterisk/asterisk.git]
/
channels
/
chan_modem_i4l.c
diff --git
a/channels/chan_modem_i4l.c
b/channels/chan_modem_i4l.c
index
c011a9f
..
a8d08a6
100755
(executable)
--- 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;