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

Marc Hoffman mmh
Tue Apr 17 14:28:10 CEST 2007


Aurelien Jacobs writes:
 > 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 ?

Thanks, I didn't see that!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitstream.h.patch
Type: text/x-patch
Size: 415 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070417/ba1937ca/attachment.bin>



More information about the ffmpeg-devel mailing list