Re: Segfault using zita-j2a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 26, 2012 at 07:37:42AM +0000, Fons Adriaensen wrote:
> On Thu, Oct 25, 2012 at 11:37:30PM +0200, Jannis Achstetter wrote:
>  
> > Okay, the different classes explain the different behavoirs then because
> > zretune crashes instantly:
> 
> If you install libzita-resampler from source, try this:
> 
> int VResampler::process (void)
> {
> -    unsigned int   k, hl, np, in, nr, nz, i, n, c;
> +    unsigned int   k, np, in, nr, n, c;
> +    int            i, hl, nz;
>      double         ph, dp, dd; 
>      float          a, b, *p1, *p2, *q1, *q2;
> 
> 
> In line 217 the index [i - hl] goes negative. If it is extended
> to 64 bit as unsigned that would explain the segfault.
> 
> Ciao,

P.S.  To make sure you replace the library installed by your
package manager, you need to change PREFIX at the top of the
Makefile to 

PREFIX=/usr

Ciao,

-- 
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux