From 12469e0c2e510fbadb8822dc9e2c360a30592a47 Mon Sep 17 00:00:00 2001 From: aurel Date: Sun, 3 Dec 2006 21:17:51 +0000 Subject: use strchr() instead of index() git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21480 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_dvb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c index a5fc6b0683..fe823c9fb7 100644 --- a/stream/stream_dvb.c +++ b/stream/stream_dvb.c @@ -169,7 +169,7 @@ static dvb_channels_list *dvb_get_channels(char *filename, int type) if((line[0] == '#') || (strlen(line) == 0)) continue; - colon = index(line, ':'); + colon = strchr(line, ':'); if(colon) { k = colon - line; -- cgit v1.2.3