From: Miguel F. <mig...@us...> - 2004-05-10 13:38:48
|
Update of /cvsroot/xine/xine-lib/src/input In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23735 Modified Files: input_dvb.c Log Message: fix compilation breakage before Mike kills me ;-) Index: input_dvb.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/input/input_dvb.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- input_dvb.c 9 May 2004 22:34:20 -0000 1.22 +++ input_dvb.c 10 May 2004 13:38:39 -0000 1.23 @@ -997,11 +997,11 @@ 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 @@ * 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) |