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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Sep 13 13:52:54 CEST 2007


Hello,
On Thu, Sep 13, 2007 at 01:22:46PM +0200, Reimar Döffinger wrote:
> On Thu, Sep 13, 2007 at 01:14:40PM +0200, Reimar Döffinger wrote:
> > > 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.
> 
> On second thought, could you test attached patch?

And (assuming this works) which version do others prefer, this or the
one using swab?
Also, can someone test on different operating systems on bigendian?
Preferably at least linux, *BSD and OSX (though I don't know if AC3
works with OSX?)

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list