playlist demux: do not use index()
commit78bd79f227a6db422fe651a6c1f9f626fa4a40a3
authorRafaël Carré <funman@videolan.org>
Tue, 3 Dec 2013 08:14:16 +0000 (3 09:14 +0100)
committerRafaël Carré <funman@videolan.org>
Tue, 3 Dec 2013 08:14:16 +0000 (3 09:14 +0100)
treea90fcbc5c1f9c68b0cab52d28dc11a197c38f0c8
parentd6e317a4ff4dbf74185b825d8872e02522f20615
playlist demux: do not use index()

marked as LEGACY in POSIX.1-2001.
POSIX.1-2008 removes the  specifications  of  index()
and rindex(), recommending strchr(3) and strrchr(3) instead.
modules/demux/playlist/playlist.c