summaryrefslogtreecommitdiff
path: root/formats/format_h264.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2006-01-08 04:30:10 +0000
committerMark Spencer <markster@digium.com>2006-01-08 04:30:10 +0000
commit940c49390cd5f097f8c761d89132c533758fa0c8 (patch)
treeb05576fee2e8c1c3d251a3558574b3bf5ca832b2 /formats/format_h264.c
parent353e5f1dc915de9250b23cfa6cb02ddceb6ee5ca (diff)
Minor video fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_h264.c')
-rw-r--r--formats/format_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_h264.c b/formats/format_h264.c
index e132e0fe0..662320fb6 100644
--- a/formats/format_h264.c
+++ b/formats/format_h264.c
@@ -164,7 +164,7 @@ static struct ast_frame *h264_read(struct ast_filestream *s, int *whennext)
}
if ((res = fread(s->h264, 1, len, s->f)) != len) {
if (res)
- ast_log(LOG_WARNING, "Short read (%d) (%s)!\n", res, strerror(errno));
+ ast_log(LOG_WARNING, "Short read (%d of %d) (%s)!\n", res, len, strerror(errno));
return NULL;
}
s->fr.samples = s->lastts;