Merged revisions 37765 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r37765 | tilghman | 2006-07-17 10:52:15 -0500 (Mon, 17 Jul 2006) | 2 lines Overflow bad ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37766 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
ec03f69ba1
commit
4b6aacc5fd
|
@ -84,7 +84,7 @@ static struct ast_frame *h263_read(struct ast_filestream *s, int *whennext)
|
|||
len &= 0x7fff;
|
||||
if (len > BUF_SIZE) {
|
||||
ast_log(LOG_WARNING, "Length %d is too long\n", len);
|
||||
len = BUF_SIZE; /* XXX truncate ? */
|
||||
return NULL;
|
||||
}
|
||||
s->fr.frametype = AST_FRAME_VIDEO;
|
||||
s->fr.subclass = AST_FORMAT_H263;
|
||||
|
|
Reference in New Issue