diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-04 23:45:34 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-04 23:45:34 +0000 |
commit | 193e2eee1af6432bd0081a740a5aa681ff6067c1 (patch) | |
tree | 1dadc42b9416f35b8352e92c832dcfed79c71425 /formats | |
parent | 472d9be29e1cd3b9d7816c913caf01ff91ccdfaf (diff) |
return properly after extending file
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7803 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats')
-rw-r--r-- | formats/format_pcm.c | 1 | ||||
-rw-r--r-- | formats/format_pcm_alaw.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/formats/format_pcm.c b/formats/format_pcm.c index 80905cdbf..7a1e98b7a 100644 --- a/formats/format_pcm.c +++ b/formats/format_pcm.c @@ -207,6 +207,7 @@ static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence) return res; left -= res; } + return offset; } /* fall through */ default: diff --git a/formats/format_pcm_alaw.c b/formats/format_pcm_alaw.c index 885246726..811a6ef6a 100644 --- a/formats/format_pcm_alaw.c +++ b/formats/format_pcm_alaw.c @@ -282,6 +282,7 @@ static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence) return res; left -= res; } + return offset; } /* fall through */ default: |