[MPlayer-dev-eng] [PATCH] bitstream check and sync for ad_faad

Moritz Bunkus moritz at bunkus.org
Wed Jan 19 09:43:52 CET 2005


Hey,

On Wed, Jan 19, 2005 at 08:23:39AM +0100, Nico Sabbi wrote:
> >>Both of these operations only when the demuxer doesn't pass additional 
> >>data
> >>to the decoder (as in the case of mkv).

> To play safe I call aac_probe()/aac_sync() only when sh->codecdata_len 
> == 0,
> because I assume that a demuxer that knows the content (like mkv) may
> instruct ad_faad to decode the stream appropriately.

Ok, but what you said above sounded like the Matroska demuxer didn't set
sh->codecdata. But it does. That's why I was asking.

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds




More information about the MPlayer-dev-eng mailing list