diff options
Diffstat (limited to 'formats/format_vox.c')
-rw-r--r-- | formats/format_vox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_vox.c b/formats/format_vox.c index 5afc1e322..b1f7e688a 100644 --- a/formats/format_vox.c +++ b/formats/format_vox.c @@ -56,7 +56,7 @@ static struct ast_frame *vox_read(struct ast_filestream *s, int *whennext) s->fr.frametype = AST_FRAME_VOICE; s->fr.subclass = AST_FORMAT_ADPCM; s->fr.mallocd = 0; - FR_SET_BUF(&s->fr, s->buf, AST_FRIENDLY_OFFSET, BUF_SIZE); + AST_FRAME_SET_BUFFER(&s->fr, s->buf, AST_FRIENDLY_OFFSET, BUF_SIZE); if ((res = fread(s->fr.data, 1, s->fr.datalen, s->f)) < 1) { if (res) ast_log(LOG_WARNING, "Short read (%d) (%s)!\n", res, strerror(errno)); |