aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_h263.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_h263.c')
-rw-r--r--formats/format_h263.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_h263.c b/formats/format_h263.c
index ee455beb3..c64e001fd 100644
--- a/formats/format_h263.c
+++ b/formats/format_h263.c
@@ -88,7 +88,7 @@ static struct ast_frame *h263_read(struct ast_filestream *s, int *whennext)
s->fr.frametype = AST_FRAME_VIDEO;
s->fr.subclass = AST_FORMAT_H263;
s->fr.mallocd = 0;
- FR_SET_BUF(&s->fr, s->buf, AST_FRIENDLY_OFFSET, len);
+ AST_FRAME_SET_BUFFER(&s->fr, s->buf, AST_FRIENDLY_OFFSET, len);
if ((res = fread(s->fr.data, 1, s->fr.datalen, s->f)) != s->fr.datalen) {
if (res)
ast_log(LOG_WARNING, "Short read (%d) (%s)!\n", res, strerror(errno));