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

Ronald S. Bultje rsbultje
Fri May 29 18:57:58 CEST 2009


Hi,

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?

Ronald



More information about the ffmpeg-devel mailing list