summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvb.c
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-03 21:17:51 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-03 21:17:51 +0000
commit12469e0c2e510fbadb8822dc9e2c360a30592a47 (patch)
tree29af06ecc794c05ccf0f5bce470fd6149120d449 /stream/stream_dvb.c
parent89735bd1973e82e2c5e27d29feb61ffc72916529 (diff)
downloadmpv-12469e0c2e510fbadb8822dc9e2c360a30592a47.tar.bz2
mpv-12469e0c2e510fbadb8822dc9e2c360a30592a47.tar.xz
use strchr() instead of index()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21480 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvb.c')
-rw-r--r--stream/stream_dvb.c2
1 files changed, 1 insertions, 1 deletions
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;