summaryrefslogtreecommitdiff
path: root/formats
diff options
context:
space:
mode:
Diffstat (limited to 'formats')
-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;