[MPlayer-dev-eng] divx audio sig11 bug

Fredrik Kuivinen freku045 at student.liu.se
Tue Apr 23 12:05:58 CEST 2002


On Tue, Apr 23, 2002 at 11:23:14AM +0200, Arpi wrote:
> Hi,
> 
> > * glibc rejects unaligned offsets. Also glibc 2.1.3 mmap64 is broken
> > * in that it rounds unaligned offsets down to a page boundary. For
> > * these reasons we do a direct system call here.
> > */
> > 
> > The last paragraph is the interesting one. 
> 
> yes, we found the same about a hour ago.
> appending -D_FILE_OFFSET_BITS=32 to the loader's CFLAGS seems to help
> 

hm. Are we mmapping anything else than executables? If we are only
mmapping executables then 32 bits are enough.

> anyway no real workaround, imho that asm syscall thingie is a mess

If I have understood the wine code correctly the asm syscall is there
to get a performance gain. If we remove it the code will still work.

/ Fredrik




More information about the MPlayer-dev-eng mailing list