[FFmpeg-devel] ffmpeg on SH4

Måns Rullgård mans
Mon Dec 10 13:21:05 CET 2007

Luca Barbato wrote:
> Tamas Selmeci wrote:
>> Hello,
>> Diego Biurrun wrote:
>>> Please send us the patch.
>> Included as inline.
> Mangled a bit.
>>> For the rest of the problems, please ask on the ffmpeg-user, it is
>>> offtopic here.
>> OK. But now the -fno-strict-aliasing seems to solve the problem...
> Hmm, has sh4 strict alignment requirements?

Yes, it does, but that's not what this is about.  Strict aliasing is
about doing things like float f; int i = *(int*)&f; which is not
allowed by the C standard, and will sometimes result in incorrect
code.  GCC will issue a warning whenever there's a risk of this

It should be noted that the STi7109 is a Super-H, not SH-4.  The
architectures are similar in concept, but there are significant

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list