[MPlayer-users] msadpcm crash with Solaris/SPARC

Arpi arpi at thot.banki.hu
Wed Oct 23 15:07:02 CEST 2002


Hi,

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> 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...

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

does it work with it?


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list