possible bug in http://git.linuxtv.org/mchehab/experimental-v4l-utils.git

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

 



Hi mauro,

I suspect a bug in follow code:

                for (bw = 0; fe_bandwidth_name[bw] != 0; bw++) {
                        if (fe_bandwidth_name[bw] == v3_parms.u.ofdm.bandwidth)
                                break;
                }
                dvb_fe_retrieve_parm(parms, DTV_BANDWIDTH_HZ, &bw);

I think should be something like:

                int bw_idx;

                dvb_fe_retrieve_parm(parms, DTV_BANDWIDTH_HZ, &bw);

                for (bw_idx = 0; fe_bandwidth_name[bw_idx] != 0; bw_idx++) {
                        if (fe_bandwidth_name[bw_idx] == bw) {
                                v3_parms.u.ofdm.bandwidth = bw;
                                break;
                        }
                }

regards,


Eddi De Pieri
ÿôèº{.nÇ+?·?®?­?+%?Ëÿ±éݶ¥?wÿº{.nÇ+?·¥?{±þg??¯â?Ø^n?r¡ö¦zË?ëh?¨è­Ú&£ûàz¿äz¹Þ?ú+?Ê+zf£¢·h??§~?­?Ûiÿÿï?êÿ?êçz_è®æj:+v?¨þ)ߣøm



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux