[FFmpeg-devel] [PATCH] Fix unaligned access in lcl decoder

Michael Niedermayer michaelni
Wed May 27 18:50:14 CEST 2009


On Wed, May 27, 2009 at 12:22:19PM -0400, Jeff Downs wrote:
> FATE test 289 (http://fate.multimedia.cx/index.php?test_spec=289) 
> currently crashes on Sparc/Solaris due to unaligned memory accesses in the 
> lcl decoder.
> 
> Attached fixes by using memcpy instead of integer copies on platforms 
> without fast unaligned access.

AV_R/WN32() might be more appropriate than the ifdeffery

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

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090527/fcebed4f/attachment.pgp>



More information about the ffmpeg-devel mailing list