Index: format_g729.c =================================================================== RCS file: /usr/cvsroot/asterisk/formats/format_g729.c,v retrieving revision 1.4 diff -u -r1.4 format_g729.c --- format_g729.c 13 Aug 2003 15:25:16 -0000 1.4 +++ format_g729.c 26 Aug 2003 15:07:44 -0000 @@ -168,7 +168,7 @@ static int g729_seek(struct ast_filestream *fs, long sample_offset, int whence) { long bytes; - off_t min,cur,max,offset; + off_t min,cur,max,offset=0; min = 0; cur = lseek(fs->fd, 0, SEEK_CUR); max = lseek(fs->fd, 0, SEEK_END); Index: format_pcm.c =================================================================== RCS file: /usr/cvsroot/asterisk/formats/format_pcm.c,v retrieving revision 1.4 diff -u -r1.4 format_pcm.c --- format_pcm.c 13 Aug 2003 15:25:16 -0000 1.4 +++ format_pcm.c 26 Aug 2003 15:07:45 -0000 @@ -158,7 +158,7 @@ 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); Index: format_pcm_alaw.c =================================================================== RCS file: /usr/cvsroot/asterisk/formats/format_pcm_alaw.c,v retrieving revision 1.5 diff -u -r1.5 format_pcm_alaw.c --- format_pcm_alaw.c 13 Aug 2003 15:25:16 -0000 1.5 +++ format_pcm_alaw.c 26 Aug 2003 15:07:45 -0000 @@ -237,7 +237,7 @@ 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);