From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Eddi De Pieri <eddi@depieri.net>
Cc: linux-media@vger.kernel.org
Subject: Re: possible bug in http://git.linuxtv.org/mchehab/experimental-v4l-utils.git
Date: Thu, 01 Mar 2012 07:12:43 -0300 [thread overview]
Message-ID: <4F4F4B9B.7090705@redhat.com> (raw)
In-Reply-To: <CAKdnbx4Vhj5ZoArOssETJQFbM0YxSfSoU62ybSK3J+cMX9irSA@mail.gmail.com>
Hi Eddi,
Em 05-02-2012 09:53, Eddi De Pieri escreveu:
> 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,
I've aplied the dvb code at the main v4l-utils tree some time ago. Since then,
I'm applying the fixes directly there. So, please check if the issue you're pointing
weren't fix yet there. If not, please send me a patch.
Thanks!
Mauro
next prev parent reply other threads:[~2012-03-01 10:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-05 11:53 possible bug in http://git.linuxtv.org/mchehab/experimental-v4l-utils.git Eddi De Pieri
2012-03-01 10:12 ` Mauro Carvalho Chehab [this message]
[not found] ` <CAKdnbx6P=MhCV+aoUxeFEdWCseeJSfAd2UgjhZJHjRNA7NtGog@mail.gmail.com>
2012-03-01 20:39 ` Eddi De Pieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F4F4B9B.7090705@redhat.com \
--to=mchehab@redhat.com \
--cc=eddi@depieri.net \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox