bug in RIFF WAVE files from

Kai Vehmanen <[email protected]>
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <[email protected]>
Hi,

talking about good reasons to activate on the list (despite the initial 
reaction of going deeper into lurking mode), I just got a patch for 
another fairly embarrassing bug (committed to git and will be in 2.8.2):

--cut--
commit d07b91237b753b1c7401c12ebf8ea8eb1449963f
Author: Slack
Date:   Wed Jan 25 22:12:48 2012 +0200

     audioio-wave: RIFF header chunk size too small

     When creating RIFF WAVE files, the chunk size of the very
     first RIFF block was calculated incorrectly, and was off by
     4 bytes.
--cut--

Now the size of the actual data block is correct, so AFAIK this should not 
have much practical impact, but in theory some tool could interpret wav 
files created by ecasound to have 4 bytes less than they actually do. The 
bytes do get written, but the size field of the very first chunk ("RIFF"), 
is off by 4.

Arto (cc'ed), sorry, the bug you reported 11 years ago, well, the fix was 
not quite correct:
http://www.eca.cx/ecasound-list/2000/06/0193.html

PS The bad commit from 2000 is 38af5741701261d99f66fcfcca52d9500fdb208e.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.