aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_g729.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-19 21:13:41 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-19 21:13:41 +0000
commit10717cc766b828c2b0b344ad7cd74148939bc294 (patch)
tree788562539a60bddcdd1880d1d76415845a03beac /formats/format_g729.c
parente5d58524be40d77f9d4717c40afff6b5c31fb1c3 (diff)
Merge Olle's comment patch (bug #3097)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4488 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats/format_g729.c')
-rwxr-xr-xformats/format_g729.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_g729.c b/formats/format_g729.c
index 7c268996b..28acc92a9 100755
--- a/formats/format_g729.c
+++ b/formats/format_g729.c
@@ -187,7 +187,7 @@ static int g729_seek(struct ast_filestream *fs, long sample_offset, int whence)
if (whence != SEEK_FORCECUR) {
offset = (offset > max)?max:offset;
}
- // protect against seeking beyond begining.
+ /* protect against seeking beyond begining. */
offset = (offset < min)?min:offset;
if (lseek(fs->fd, offset, SEEK_SET) < 0)
return -1;