[FFmpeg-devel] [PATCH] Force users to specify memalign_hack in configure

Ramiro Polla ramiro
Mon May 5 17:39:43 CEST 2008


Michael Kostylev wrote:
> At Fri, 02 May 2008 02:48:07 +0100,
> Ramiro Polla wrote:
> 
>  >>>> The option to use it or not should be there through configure IMO.
>  >>> Is it an option? Does it work without?
>  >> It *should* work without. All regression tests are failing on Windows 
>  >> ATM, so I'll investigate further some other time.
>  > Taking [0][1][2] into account, FFmpeg passes make test on Windows with:
>  > ./configure --disable-mmx
>  > make
>  > make test
>  > Could the DOS users try to confirm this on DOS too, please?
> 
> --enable-memalign-hack is necessary as before, I don't know what you expect.

Does DOS crash with normal (not mmx) reads to unaligned memory? So this 
testcase should crash:
int main()
{
     int foobar[2];
     char *ptr = (char*)foobar;
     return *((int)(ptr+1));
}
If that is the case, then you should probably unset fast_unaligned in 
configure.

And please give us more information about this crash. You have not yet 
provided any gdb output as to where and how it crashes. Also I couldn't 
find any docs on the Internet about this DOS fragility.

Ramiro Polla




More information about the ffmpeg-devel mailing list