[FFmpeg-devel] [PATCH] dsputil: add bswap16_buf()

Michael Niedermayer michaelni
Fri Mar 11 03:00:42 CET 2011


On Fri, Mar 11, 2011 at 01:55:19AM +0100, Luca Barbato wrote:
> On 03/11/2011 01:12 AM, Mans Rullgard wrote:
> > There several places where a buffer is byte-swapped in 16-bit units.
> > This allows them to share code which can be optimised for various
> > architectures.
> 
> Looks ok, which alignment constraint for it?

16


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110311/dd954e2e/attachment.pgp>



More information about the ffmpeg-devel mailing list