Hi, > +#ifdef __FreeBSD__ > + if(len > -1) > +#endif > swab(sh_audio->a_in_buffer, buf + 8, len); maybe if(len>0) is better :) and it can be there any time, not only for freebsd A'rpi / Astral & ESP-team -- Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu