[Home]

Summary:ASTERISK-02183: Return expression for wav_tell() wrong in format_wav_gsm.c
Reporter:Tony Mountifield (softins)Labels:
Date Opened:2004-08-03 17:10:13Date Closed:2008-01-15 15:04:40.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:From looking at the calculation in wav_seek(), and comparing with similar functions in other formats, I think wav_tell() should have:

return ((offset - 52)/65)*320;

instead of:

return (offset - 52)/65/320;

****** ADDITIONAL INFORMATION ******

Disclaimer on file
Comments:By: Mark Spencer (markster) 2004-08-03 20:56:51

Thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:04:40.000-0600

Repository: asterisk
Revision: 3576

U   trunk/formats/format_wav_gsm.c

------------------------------------------------------------------------
r3576 | markster | 2008-01-15 15:04:39 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix "tell" for wav (bug ASTERISK-2183)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3576