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

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


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.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list