[MPlayer-dev-eng] [PATCH] ao pcm on bigendian

Colin Leroy colin at colino.net
Sun Jul 21 12:33:50 CEST 2002


On Sun, 21 Jul 2002 01:28:37 +0200 Colin Leroy <colin at colino.net> wrote:

>
> 0000000 5249 4646 24ba ca02 5741 5645 666d 7420
> 0000010 1000 0000 0100 0200 44ac 0000 10b1 0200
> 0000020 0400 1000 6461 7461 00ba ca02 0000 0000
> 0000030 0000 0000 0000 0000 0000 0000 0000 0000
>
> ppc:
> 0000000 5249 4646 24ba ca02 5741 5645 666d 7420
> 0000010 1000 0000 0100 0200 44ac 0000 10b1 0200
> 0000020 0400 1000 6461 7461 02ca ba00 0000 0000
> 0000030 0000 0000 0000 0000 0000 0000 0000 0000
>
> There's a diff at the third line, could be that ?

That was the problem (00ba ca02 is data_length and wasn't swapped on BE
machines). Here's a patch that corrects it. Please commit :-)

Cheers,
-- 
Colin
Random BOFH excuse:
	Excessive collisions & not enough packet ambulances
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ao_pcm.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020721/ba4fc274/attachment.txt>


More information about the MPlayer-dev-eng mailing list