[FFmpeg-devel] [PATCH] Make HAVE_FAST_UNALIGNED allow unaligned memory accesses

Måns Rullgård mans
Tue Jul 15 23:47:39 CEST 2008


Uoti Urpala <uoti.urpala at pp1.inet.fi> writes:

> On Tue, 2008-07-15 at 22:10 +0100, M?ns Rullg?rd wrote:
>> Uoti Urpala <uoti.urpala at pp1.inet.fi> writes:
>> > You seem to be reading outdated documentation. The 4.3 documentation
>> > says:
>
>> I read the documentation for the compiler I use, and I don't trust gcc
>> 4.3 just yet (if I ever will).  Furthermore, we can't rely on features
>> only present in gcc 4.3, so there's nothing to discuss.
>
> As I said in the part you snipped the feature is not only present in GCC
> 4.3. The behavior was the same at least in GCC 4.2 even though that
> still had the old version of the documentation (I don't consider it
> important enough to get anyone to do tests on older versions).

I'm not going to rely on empirically gathered information
contradicting the official manual.

The existing solution is known to work with all gcc versions, and the
only downside is that it is slightly ugly.  This ugliness is confined
to exactly 9 lines of code, so I see no reason to pursue this further.

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




More information about the ffmpeg-devel mailing list