> -        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

Reply via email to