From 47972a0077892636fb922a3600d66779636b7ee7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 13 Apr 2014 15:39:48 +0200 Subject: player: remove ASX, SMIL and NSC playlist parsers These playlist parsers are all what's left from the old mplayer playlist parsing code. All of it is old code that does little error checking; the type of C string parsing code that gives you nightmare. Some playlist parsers have been rewritten and are located in demux_playlist.c. The removed formats were not reimplemented. ASX and SMIL use XML, and since we don't want to depend on a full blown XML parser, this is not so easy. Possibly these formats could be supported by writing a very primitive XML-like lexer, which would lead to success with most real world files, but I haven't attempted that. As for NSC, I couldn't find any URL that worked with MPlayer, and in general this formats seems to be more than dead. Move playlist_parse_file() to playlist.c. It's pretty small now, and basically just opens a stream and a demuxer. No use keeping playlist_parser.c just for this. --- wscript_build.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index 590429413d..08b26db89b 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -154,7 +154,6 @@ def build(ctx): ( "bstr/bstr.c" ), ## Core - ( "common/asxparser.c" ), ( "common/av_common.c" ), ( "common/av_log.c" ), ( "common/av_opts.c" ), @@ -164,7 +163,6 @@ def build(ctx): ( "common/common.c" ), ( "common/msg.c" ), ( "common/playlist.c" ), - ( "common/playlist_parser.c" ), ( "common/version.c" ), ## Demuxers -- cgit v1.2.3