diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-17 16:02:46 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-17 16:02:46 +0000 |
commit | 52b7317d09c80b087523479ec1a17642f5477eee (patch) | |
tree | b3ce6d5b9c260a473a91f6671b1290b6ce441cb4 /formats | |
parent | c186e0ddf05564886dd4c05495b3292873a5d2f1 (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.c | 1 |
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) |