diff options
Diffstat (limited to 'main/file.c')
-rw-r--r-- | main/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/file.c b/main/file.c index fcdc35746..aae5093f7 100644 --- a/main/file.c +++ b/main/file.c @@ -299,7 +299,7 @@ static struct ast_filestream *get_filestream(struct ast_format *fmt, FILE *bfile s->f = bfile; if (fmt->desc_size) - s->private = ((char *)(s+1)) + fmt->buf_size; + s->_private = ((char *)(s+1)) + fmt->buf_size; if (fmt->buf_size) s->buf = (char *)(s+1); s->fr.src = fmt->name; |