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

Måns Rullgård mans
Wed May 27 20:25:29 CEST 2009


Michael Niedermayer <michaelni at gmx.at> writes:

> 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

Agree.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list