[Ffmpeg-devel] PATCH Blackfin UNALIGNED_STORES_ARE_BAD in bitstream.h

Aurelien Jacobs aurel
Tue Apr 17 13:49:28 CEST 2007


On Tue, 17 Apr 2007 06:12:02 -0400
Marc Hoffman <mmh at pleasantst.com> wrote:

> Blackfin is a strictly aligned processor.
>  
> +#ifdef ARCH_BFIN
> +#define UNALIGNED_STORES_ARE_BAD 1
> +#endif

You should merge this with the following code (in the same file):

#if defined(ARCH_SPARC) || defined(ARCH_ARMV4L) || defined(ARCH_MIPS)
#define UNALIGNED_STORES_ARE_BAD
#endif

BTW: maybe this check+define should be done in configure, but that's
an unrelated issue ?

Aurel




More information about the ffmpeg-devel mailing list