aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_pcm.c')
-rwxr-xr-xformats/format_pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_pcm.c b/formats/format_pcm.c
index ab3ba2205..ebc9bf87a 100755
--- a/formats/format_pcm.c
+++ b/formats/format_pcm.c
@@ -158,7 +158,7 @@ static int pcm_write(struct ast_filestream *fs, struct ast_frame *f)
static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence)
{
- off_t offset,min,cur,max;
+ off_t offset=0,min,cur,max;
min = 0;
cur = lseek(fs->fd, 0, SEEK_CUR);