[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec bitstream.h,1.151,1.152
Christophe Massiot
cmassiot
Mon May 16 15:12:16 CEST 2005
On Fri, May 13, 2005, M?ns Rullg?rd wrote:
> > well, maybe you are running it with the wrong parameters, look at
> > the original bugreport if not then maybe the whole
> > UNALIGNED_STORES_ARE_BAD thing can be removed
>
> Ah, indeed. When writing JPEG images I do get such reports. I think
> we should be setting UNALIGNED_STORES_ARE_BAD #ifndef ARCH_X86
> instead.
>
> >> On SPARC/Solaris unaligned accesses cause a SIGBUS and core dump.
> >
> > on ARM you get pseudo random data silently
>
> That's not nice at all. How does powerpc behave?
The same way as the x86 architecture. On arm it depends how you configure
your kernel, by default you get random data silently, but you can also
force a SIGBUS or catch the exception and fix the access silently.
--
Christophe Massiot.
More information about the ffmpeg-cvslog
mailing list