aboutsummaryrefslogtreecommitdiffstats
path: root/formats
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-17 16:02:46 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-17 16:02:46 +0000
commit52b7317d09c80b087523479ec1a17642f5477eee (patch)
treeb3ce6d5b9c260a473a91f6671b1290b6ce441cb4 /formats
parentc186e0ddf05564886dd4c05495b3292873a5d2f1 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@37783 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats')
-rw-r--r--formats/format_h263.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/formats/format_h263.c b/formats/format_h263.c
index ccba23d6d..e57b9924c 100644
--- a/formats/format_h263.c
+++ b/formats/format_h263.c
@@ -161,6 +161,7 @@ static struct ast_frame *h263_read(struct ast_filestream *s, int *whennext)
len &= 0x7fff;
if (len > sizeof(s->h263)) {
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)