Hello, I was wondering if it was possible to you to add a function to check whether libmad can or not decode a file (something like mp3-check, but more simple, maybe by just checking the header). For more informations on why it may be useful, please see this bug report of mpg321 : http://sourceforge.net/tracker/index.php?func=detail&aid=948476&grou... Thank you very much
On Nov 27, 2004, at 6:26 AM, nikos@altern.org wrote:
I was wondering if it was possible to you to add a function to check whether libmad can or not decode a file (something like mp3-check, but more simple, maybe by just checking the header).
There isn't really anything more that could be added to libmad that would be appropriate for this purpose. Applications using libmad can already use the results from attempts to decode headers or frames to decide whether the stream they are decoding is really an MPEG audio stream.