Update of /usr/cvsroot/asterisk/formats
In directory mongoose.digium.com:/tmp/cvs-serv2240/formats

Modified Files:
        format_sln.c 
Log Message:
Fix offset calculation for signed linear (bug #4433)


Index: format_sln.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_sln.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- format_sln.c        21 Apr 2005 06:02:44 -0000      1.6
+++ format_sln.c        2 Jun 2005 17:54:09 -0000       1.7
@@ -156,6 +156,7 @@
        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)

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to