[Ffmpeg-devel] Compiling on IRIX
J.A. Gutierrez
spd
Wed Jun 28 13:52:36 CEST 2006
On Mon, Jun 12, 2006 at 01:55:31PM +0100, M?ns Rullg?rd wrote:
> J.A. Gutierrez said:
> >
> >
> > I'm trying to compile ffmpeg on IRIX, but the one of the
> > tests is crashing.
> [...]
> > - ABI: mips3/n32 (big endian)
> [...]
> > Bus error(coredump)
> [...]
> > 0x101307f8 in mpeg12_put_header (m=0x103fad30, header=258) at bitstream.h:205
> > 205 *(uint32_t *)s->buf_ptr = be2me_32(bit_buf);
>
> This patch should fix it. I'll commit it later if it works.
The patch
#if defined(ARCH_SPARC) || defined(ARCH_ARMV4L) || defined(ARCH_MIPS)
#define UNALIGNED_STORES_ARE_BAD
#endif
fixes the crash, but ARCH_MIPS is not defined at the
"configure" stage. Adding manually "#define ARCH_MIPS 1" to
the generated config.h solves the problem
--
finger spd at shiva.cps.unizar.es for PGP /
.mailcap tip of the day: / La vida es una carcel
application/ms-tnef; cat '%s' > /dev/null / con las puertas abiertas
text/x-vcard; cat '%s' > /dev/null / (A. Calamaro)
More information about the ffmpeg-devel
mailing list