diff options
Diffstat (limited to 'formats/format_wav.c')
-rw-r--r-- | formats/format_wav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_wav.c b/formats/format_wav.c index df09db353..ca12ca47b 100644 --- a/formats/format_wav.c +++ b/formats/format_wav.c @@ -468,7 +468,7 @@ static int wav_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 wav filestream %p: %s\n", fs, strerror(errno)); return -1; } |