[FFmpeg-devel] [PATCH] Fix unaligned access in lcl decoder
Fri May 29 19:56:41 CEST 2009
"Ronald S. Bultje" <rsbultje at gmail.com> writes:
> 2009/5/29 M?ns Rullg?rd <mans at mansr.com>:
>> Perhaps we need a dedicated macro for copying small unaligned
>> quantities. ?In theory, compilers should optimise memcpy()
>> appropriately, but somehow I don't them.
> Wouldn't it be more appropriate to fix gcc on the cases where
> you/someone can show it to be non-optimal, rather than obfuscate the
> ffmpeg sourcetree with all kind of workarounds/hacks for functionality
> that the compiler should (and usually does) provide?
Have you ever tried fixing a bug in gcc?
mans at mansr.com
More information about the ffmpeg-devel