use strchr() instead of index()

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21480 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
aurel 2006-12-03 21:17:51 +00:00
parent 89735bd197
commit 12469e0c2e
1 changed files with 1 additions and 1 deletions

View File

@ -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;