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

Nico Sabbi nsabbi at tiscali.it
Tue Jan 18 23:13:39 CET 2005


This patch tries to sync to the first syncword when decoding audio with 
libfaad2,
because otherwise that crappy library assumes the stream is in raw format
(that means without ADTS and ADIF headers), breaking when the audio stream
doesn't begin with a syncword (e.g. aac in TS files);
in addition the patch implements ADCTRL_RESYNC_STREAM.

Both of these operations only when the demuxer doesn't pass additional data
to the decoder (as in the case of mkv).

Ok to commit ?

    Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ad_faad.diff
Type: text/x-patch
Size: 2676 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050118/03d6d568/attachment.bin>


More information about the MPlayer-dev-eng mailing list