Increase max write size (bug #1601)
authorMark Spencer <markster@digium.com>
Tue, 11 May 2004 15:00:28 +0000 (15:00 +0000)
committerMark Spencer <markster@digium.com>
Tue, 11 May 2004 15:00:28 +0000 (15:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2945 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_modem_i4l.c

index c011a9f..a8d08a6 100755 (executable)
@@ -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;