diff options
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: |