[Ffmpeg-devel] [PATCH] cook compatible decoder

Diego Biurrun diego
Fri Nov 4 09:43:44 CET 2005


On Fri, Nov 04, 2005 at 07:26:35AM +0100, Benjamin Larsson wrote:
> 
> Diego Biurrun wrote:
> 
> >On Thu, Nov 03, 2005 at 08:08:09PM +0100, Benjamin Larsson wrote:
> >
> >>http://tranquillity.campus.luth.se/~banan/cook/
> >>
> >>I think the decoder wont work on BE systems.
> >
> >I can confirm this.  On my PPC it just outputs noise.
> >
> Can you try to change the byteswap in decode_bytes ?
> That should fix the decoder.

You mean

        obuf[i] = 0xf211c537^buf[i];

-->

        obuf[i] = 0x37c511f2^buf[i];

?

That does not help ...

Diego





More information about the ffmpeg-devel mailing list