summaryrefslogtreecommitdiff
path: root/formats/format_h263.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-07-17 15:56:16 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-07-17 15:56:16 +0000
commit83f5766c4728c65267612e1dfd41e8ac0135587b (patch)
treecf90c9365a612f0a549cf7778f038d7745cbf612 /formats/format_h263.c
parentf6d03e822ae5a866fc1af460936338cb9449775d (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@37766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_h263.c')
-rw-r--r--formats/format_h263.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_h263.c b/formats/format_h263.c
index 08891c8cd..70108e9ef 100644
--- a/formats/format_h263.c
+++ b/formats/format_h263.c
@@ -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;