Re: possible bug report for latest stable release bttv-0.7.104

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



 --- Cyrille Derory <cyrille.derory@xxxxxxxxxx> a
écrit : 
> I'm a french user of the latest Pinnacle TV card
> with MT2032 tuner.
> 
> I have just switch from version 0.7.103 to 0.7.104
> and have some
> troubles with some tv channels.
> 
> In debug mode with kernel 2.4.21-pre4 on amd k6
> 200Mhz :
> 
> just one of the six french channel has rfin value
> conform with the value
> of tv freq set to value. Only 216 Mhz is correct.
> 
> Changes from 0.7.103 to 0.7.104 are the problem,
> i've changed back
> unsigned int freq :
> 
> //static void mt2032_set_tv_freq(struct i2c_client
> *c,
> //			       unsigned int freq, unsigned int norm)
> static void mt2032_set_tv_freq(struct i2c_client *c,
> 			       int freq, unsigned int norm)
> 
> new compile and no more problems.

Hello,

I got the same problem and resolved it by replacing
two 
 freq * 1000 * 1000 / 16 by freq * (1000 / 4) * (1000
/ 4) that is also correct and avoid overflow (and you
keep the nice unsigned)

Regards,
                          P. Cizaire

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux