[MPlayer-users] msadpcm crash with Solaris/SPARC

Götz Waschk waschk at informatik.uni-rostock.de
Wed Oct 23 15:19:02 CEST 2002


Am Mittwoch, 23. Oktober 2002, 15:06:04 Uhr MET, schrieb Arpi:
> > Am Mittwoch, 23. Oktober 2002, 14:00:58 Uhr MET, schrieb Arpi:
> > > it tries to read int16 from odd offset, probably causing
> > > unaligned memroy access. i don't know that arch but ask Jurgen
> > > Keil, he fixed similar things in the past.
> > It seems so. The right way would be to align the data properly,
> > wouldn't it?
> yes.
> please contact microsoft and ask them to rethink their ms-adpcm format, and
> have 16-bit values aligned to even offsets in the compressed frames...

I was thinking about a preprocessing operation that doesn't involve
one multiplication for each 16bit read.

> > The right one was this:
> > #define LE_16(x) (le2me_16((x)[1]+(256*(x)[0])))
> does it work with it?

Yes, it's working fine.
 
-- 
   Götz Waschk <> master of computer science  <> University of Rostock    
 http://wwwtec.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--




More information about the MPlayer-users mailing list