aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_pcm_alaw.c
diff options
context:
space:
mode:
Diffstat (limited to 'formats/format_pcm_alaw.c')
-rw-r--r--formats/format_pcm_alaw.c1
1 files changed, 1 insertions, 0 deletions
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: