diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-05-10 13:38:39 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-05-10 13:38:39 +0000 |
commit | 936fecca520b0c953d6a4c1bd7826cb98add0815 (patch) | |
tree | 46b651ee02e387468c5df6ca1fd6a34bc56ec391 | |
parent | e83d624acd9bdf3cb167732f29ad5d5f354002d4 (diff) | |
download | xine-lib-936fecca520b0c953d6a4c1bd7826cb98add0815.tar.gz xine-lib-936fecca520b0c953d6a4c1bd7826cb98add0815.tar.bz2 |
fix compilation breakage before Mike kills me ;-)
CVS patchset: 6515
CVS date: 2004/05/10 13:38:39
-rw-r--r-- | src/input/input_dvb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index 9285a1593..41bbc9e27 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -997,11 +997,11 @@ static int dvb_plugin_open (input_plugin_t *this_gen) { if(*channame) { /* try to find the specified channel */ + int idx = 0; xprintf (this->class->xine, XINE_VERBOSITY_LOG, _("input_dvb: searching for channel %s\n"),channame); - int idx = 0; while(idx < num_channels) { if(strcasecmp(channels[idx].name,channame) == 0)break; @@ -1020,12 +1020,12 @@ static int dvb_plugin_open (input_plugin_t *this_gen) { * that the channels have really ugly names, sometimes prefixed * by numbers... */ + int chanlen = strlen(channame); + int offset = 0; xprintf (this->class->xine, XINE_VERBOSITY_LOG, _("input_dvb: exact match for %s not found: trying partial matches\n"),channame); - int chanlen = strlen(channame); - int offset = 0; do { idx = 0; while(idx < num_channels) |