[MPlayer-dev-eng] [PATCH] bigendian fix for hwac3

Ulion ulion2002 at gmail.com
Thu Sep 13 13:37:40 CEST 2007


2007/9/13, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> Hello,
> > Yes, I'd like to use swab for all these modifications but the swab man
> > page did not say whether it works fine when src==dst.
> >
> > So, if you insist, I can give a bswap_16 version according to your
> > sample code. Here it is.
>
> Please just try it with swab, if it works we should use it IMO. If there
> are some weird systems where it does not work for src==dst we can write
> a replacement function for those.
>
> Otherwise the patch looks good to me.
>

Ok, here's the swab version, it works on PowerPC G5 with newest OS X.


















-- 
Ulion
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hwac3_bigendian_swab.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070913/87e5f533/attachment.txt>


More information about the MPlayer-dev-eng mailing list