> - AUBIO_MEMSET(&sfinfo, 0, sizeof (sfinfo));
> + AUBIO_MEMSET(&sfinfo, 0, sfinfo);
> sfinfo.format = 0;
>
> f->handle = sf_open (outputname, SFM_READ, &sfinfo);
>
> Are you sure you don't have diff direction wrong?
>
yes, given how AUBIO_MEMSET ist defined:
#define AUBIO_MEMSET(_dst,_src,_t) memset(_dst,_src,sizeof(_t))
before the patch above example would expand to
memset(&sfinfo, 0, sizeof(sizeof (sfinfo)));
which becomes
memset(&sfinfo, 0, sizeof(size_t));
what is not what we want here:-)
Karsten
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Received on Fri May 26 20:15:06 2006
This archive was generated by hypermail 2.1.8 : Fri May 26 2006 - 20:15:06 EEST