mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Format cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -237,7 +237,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);
|
||||
|
Reference in New Issue
Block a user