mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 10:33:13 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@37783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -161,6 +161,7 @@ static struct ast_frame *h263_read(struct ast_filestream *s, int *whennext)
|
|||||||
len &= 0x7fff;
|
len &= 0x7fff;
|
||||||
if (len > sizeof(s->h263)) {
|
if (len > sizeof(s->h263)) {
|
||||||
ast_log(LOG_WARNING, "Length %d is too long\n", len);
|
ast_log(LOG_WARNING, "Length %d is too long\n", len);
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
if ((res = fread(s->h263, 1, len, s->f)) != len) {
|
if ((res = fread(s->h263, 1, len, s->f)) != len) {
|
||||||
if (res)
|
if (res)
|
||||||
|
Reference in New Issue
Block a user