Re: Could you add a function to check whether a file can be decoded by libmad?

Rob Leslie <[email protected]> Sat, 27 Nov 2004 16:34:56 -0800
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
On Nov 27, 2004, at 6:26 AM, [email protected] 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.

-- 
Rob Leslie
[email protected]