mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Increase max write size (bug #1601)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
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 result[MAX_WRITE_SIZE << 1];
|
||||||
unsigned char b;
|
unsigned char b;
|
||||||
int bpos=0, x;
|
int bpos=0, x;
|
||||||
|
Reference in New Issue
Block a user