[Ffmpeg-devel] [PATCH] cook compatible decoder

Diego Biurrun diego
Fri Nov 4 11:01:08 CET 2005


On Fri, Nov 04, 2005 at 09:44:26AM +0100, Sascha Sommer wrote:
> On Friday 04 November 2005 07:26, 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.
> 
> Attached patch should make the sound at least recognisable.

No, with that patch applied there is no sound at all.

> I also noticed that there are some memory corruptions that should get fixed 
> before the code enters cvs.

Yes, I get stuff like the following:

*** glibc detected *** double free or corruption (!prev): 0x1032e210 ***

Diego





More information about the ffmpeg-devel mailing list