[ lame-Bugs-3475581 ] lame crashes at .w64 input file

SourceForge.net <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <[email protected]>
Bugs item #3475581, was opened at 2012-01-18 09:40
Message generated for change (Settings changed) made by robert
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100290&aid=3475581&group_id=290

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Frontends (lame/mp3x/...)
Group: Usability
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: lvqcl (lvqcl)
Assigned to: Robert Hegemann (robert)
Summary: lame crashes at .w64 input file

Initial Comment:
LAME is able to open .w64 files when it is compiled with libsndfile support. However lame 3.99 crashes.

The bug is in isCommonSuffix(): there's no ".W64" extension in suffixes[] array, and the line 

for (i = 0; i < sizeof(suffixes); ++i)

should be

for (i = 0; i < sizeof(suffixes)/sizeof(suffixes[0]); ++i)

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

Comment By: Robert Hegemann (robert)
Date: 2012-01-19 01:09

Message:
Right, that should have been dimension_of instead of sizeof.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100290&aid=3475581&group_id=290

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
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.