summaryrefslogtreecommitdiff
path: root/formats/format_g729.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-08-27 23:35:17 +0000
committerMark Spencer <markster@digium.com>2003-08-27 23:35:17 +0000
commit01882fa17ebfbde7e9bf63c2209814a042dc69da (patch)
treef4aa6f23517f3f8cf81e7cd17056a7c4207e491c /formats/format_g729.c
parentc6d42e9779d9bb53f1eb3afa3f72f363c32d4b46 (diff)
Format cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/format_g729.c')
-rwxr-xr-xformats/format_g729.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_g729.c b/formats/format_g729.c
index 81765985f..b35ff966f 100755
--- a/formats/format_g729.c
+++ b/formats/format_g729.c
@@ -168,7 +168,7 @@ static char *g729_getcomment(struct ast_filestream *s)
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);