diff options
Diffstat (limited to 'formats/format_sln.c')
-rwxr-xr-x | formats/format_sln.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/formats/format_sln.c b/formats/format_sln.c index d5c562a01..0ae19af67 100755 --- a/formats/format_sln.c +++ b/formats/format_sln.c @@ -156,6 +156,7 @@ static int slinear_seek(struct ast_filestream *fs, long sample_offset, int whenc off_t offset=0,min,cur,max; min = 0; + sample_offset <<= 1; cur = lseek(fs->fd, 0, SEEK_CUR); max = lseek(fs->fd, 0, SEEK_END); if (whence == SEEK_SET) |