2009-01-20 07:17:12 +01:00
|
|
|
--- a/stream/stream_dvb.c
|
|
|
|
+++ b/stream/stream_dvb.c
|
|
|
|
@@ -37,9 +37,7 @@ Foundation, Inc., 675 Mass Ave, Cambridg
|
2007-09-25 13:56:34 +02:00
|
|
|
#include <sys/poll.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
-#include <string.h>
|
|
|
|
#include <errno.h>
|
|
|
|
-#include <fcntl.h>
|
|
|
|
|
|
|
|
#include "stream.h"
|
|
|
|
#include "libmpdemux/demuxer.h"
|
2009-01-20 07:17:12 +01:00
|
|
|
@@ -168,7 +166,7 @@ static dvb_channels_list *dvb_get_channe
|
2007-09-25 13:56:34 +02:00
|
|
|
if((line[0] == '#') || (strlen(line) == 0))
|
|
|
|
continue;
|
|
|
|
|
|
|
|
- colon = index(line, ':');
|
|
|
|
+ colon = strchr(line, ':');
|
|
|
|
if(colon)
|
|
|
|
{
|
|
|
|
k = colon - line;
|