[FFmpeg-devel] [PATCH] MLP/TrueHD decoder

Ian Caulfield ian.caulfield
Mon Oct 29 10:50:39 CET 2007


Hi

On 10/29/07, Michael Niedermayer <michaelni at gmx.at> wrote:
>
> On Tue, Oct 23, 2007 at 09:06:18AM +0100, Ian Caulfield wrote:
> >
> > The reasoning behind this was that MLP streams are a pain to parse -
> > most frames contain no sync word, just a length at the start of the
> > frame. There appears to be no protection against sync word emulation.
> > Without checking the frame parity nibble, there's no way to tell if
> > the stream was corrupted and the parser is now out of sync with the
> > stream - if this happens the parser will just return garbage frame
> > boundaries until the end of the stream.
>
> well then leave that parity check in there
>

OK, updated patch addressing your other comments attached.

Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mlp_parse.patch
Type: text/x-diff
Size: 12798 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071029/8d97951d/attachment.patch>



More information about the ffmpeg-devel mailing list