diff options
-rw-r--r-- | sys/v4l/v4l_calls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/v4l/v4l_calls.c b/sys/v4l/v4l_calls.c index 0baf5ade..0a012659 100644 --- a/sys/v4l/v4l_calls.c +++ b/sys/v4l/v4l_calls.c @@ -330,6 +330,11 @@ gst_v4l_get_chan_names (GstV4lElement * v4lelement) continue; /* not this one */ } } + /* FIXME: in the case of n >= vchan.tuners the code below accesses + * uninitialised fields in vtun + * Not sure if the codeblock below should go into the else above, but + * then setting vtun.tuner=0 is a bit pointless. + */ v4lchannel->tuner = n; channel->flags |= GST_TUNER_CHANNEL_FREQUENCY; channel->freq_multiplicator = |