[PATCH] cx88: fix setting input when using DVB

2010-03-27 Thread istva...@mailbox.hu
(Sorry for the double post, the previous one did not include the patch) In cx88-mpeg.c, there is code that sets core->input to CX88_VMUX_DVB. However, this may be incorrect, since core->input is actually an index to core->board.input[], which has not enough elements to be indexed by the value of C

[PATCH] cx88: fix setting input when using DVB

2010-03-27 Thread istva...@mailbox.hu
In cx88-mpeg.c, there is code that sets core->input to CX88_VMUX_DVB. However, this may be incorrect, since core->input is actually an index to core->board.input[], which has not enough elements to be indexed by the value of CX88_VMUX_DVB. So, the modified code searches core->board.input[] for an i