summaryrefslogtreecommitdiff
path: root/formats/format_vox.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_vox.c')
-rw-r--r--formats/format_vox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_vox.c b/formats/format_vox.c
index bfa0d8e4c..3f3b1eabb 100644
--- a/formats/format_vox.c
+++ b/formats/format_vox.c
@@ -90,7 +90,7 @@ static int vox_seek(struct ast_filestream *fs, off_t sample_offset, int whence)
return -1;
}
- if ((max = ftello(fs->f) < 0)) {
+ if ((max = ftello(fs->f)) < 0) {
ast_log(AST_LOG_WARNING, "Unable to determine max position in g719 filestream %p: %s\n", fs, strerror(errno));
return -1;
}