aboutsummaryrefslogtreecommitdiffhomepage
path: root/playtreeparser.c
Commit message (Collapse)AuthorAge
* playtree: don't try to parse playlists without recognized entriesGravatar siretart2010-11-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31961 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge svn changes up to r30798Gravatar Uoti Urpala2010-03-10
|\
* \ Merge svn changes up to r30748Gravatar Uoti Urpala2010-03-10
|\ \
* \ \ Merge svn changes up to r30675Gravatar Uoti Urpala2010-03-10
|\ \ \
* \ \ \ Merge svn changes up to r30475Gravatar Uoti Urpala2010-03-09
|\ \ \ \
| | | | * Use negative return values for errors in pls_read_entry to make it matchGravatar reimar2010-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with the checks later on. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30793 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | | * A playlist entry number of 0 is invalid for pls playlists.Gravatar reimar2010-02-28
| | | | | | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30792 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | | * Improve integer overflow and realloc error handling in playlist parser.Gravatar reimar2010-02-28
| | | |/ | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30791 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Do not cast the results of malloc/calloc/realloc.Gravatar diego2010-02-26
| | |/ | | | | | | | | | | | | | | | | | | | | | These functions return void*, which is compatible with any pointer, so there is no need for casts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 b3059339-0415-0410-9bf9-f77b7e298cf2
| | * Add asx_parser_build_tree() to asxparser.h instead of forward declaring it.Gravatar diego2010-02-20
| |/ | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30674 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add license header to all top-level files missing them.Gravatar diego2010-01-30
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30471 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| |
| * whitespace cosmetics: Remove all trailing whitespace.Gravatar diego2009-05-13
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28366Gravatar Uoti Urpala2009-01-26
|\| | | | | | | | | | | | | | | | | Contains more changes needed to sync build system with latest FFmpeg. Conflicts: Makefile configure mplayer.c
| * add "<!DOCTYPE smil" to smil playlistGravatar compn2009-01-24
| | | | | | | | | | | | | | patch by Gavin McCullagh gmccullagh!gmail!com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28349 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r28310Gravatar Uoti Urpala2009-01-15
|\| | | | | | | | | | | | | | | The libdvdread4 and libdvdnav directories, which are externals in the svn repository, are at least for now not included in any form. I added configure checks to automatically disable internal libdvdread and libdvdnav if the corresponding directories are not present; if they're added manually then things work the same as in svn.
| * 1000l, play_tree_parser_stop_keeping broke 0-termination of bufferGravatar reimar2009-01-01
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28219 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add zero termination missing in two cases.Gravatar reimar2009-01-01
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28218 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add asserts to detect when assumptions for play_tree_parser_get_lineGravatar reimar2009-01-01
| | | | | | | | | | | | | | fail (mostly due to parsers using it incorrectly). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28217 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Move global mconfig to mpctxGravatar Uoti Urpala2008-04-26
|/ | | | | | | | | | | The global was used in the function cfg_include which handles the -include option. Make the address available in that function by creating a new dynamically allocated option in m_config_new that has the address in the option's private data. asxparser.c also used the global. Making it available through all ways the code could get called required a number of relatively straightforward changes to playtree and menu code.
* 100l in play_tree_parser_get_line, check that there actually isGravatar reimar2007-11-26
| | | | | | | | a previous character before comparing it against '\r'. Fixes a possible crash on playlist file that is empty or starts with an empty line. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25169 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix possible null-pointer-dereference in parse_smil().Gravatar cehoyos2007-11-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24990 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:Gravatar diego2007-09-13
| | | | | | | | | | | | | | | | | input.c: In function 'mp_input_set_section': input.c:1640: warning: suggest parentheses around assignment used as truth value input.c:1643: warning: suggest parentheses around assignment used as truth value mga_common.c: In function 'mga_init': mga_common.c:394: warning: suggest parentheses around assignment used as truth value playtreeparser.c: In function 'parse_smil': playtreeparser.c:523: warning: suggest parentheses around assignment used as truth value libmpdemux/demux_ts.c: In function 'ts_parse': libmpdemux/demux_ts.c:2795: warning: suggest parentheses around assignment used as truth value libmpdemux/demux_ts.c: In function 'demux_open_ts': libmpdemux/demux_ts.c:591: warning: 'frame_length' may be used uninitialized in this function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24444 b3059339-0415-0410-9bf9-f77b7e298cf2
* realrtsp smil files can also use ' as field delimiter instead of "Gravatar rtogni2007-07-16
| | | | | | | Fixes rtsp://video.rootvision.net/xxc17.smil git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23794 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support multiple tags in a single line and tags on the same line as the Gravatar rtogni2007-03-18
| | | | | | | | <smil> signature. Fixes http://www.cartalk.com/Radio/Show/01.smil git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22730 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove code duplication in smil parserGravatar rtogni2007-03-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22538 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support smil embedded into xml, fixes bugzilla #768Gravatar rtogni2007-03-12
| | | | | | | Patch by Pavel Fedin | sonic_amiga |a| rambler : ru | (on bugzilla) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22536 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, allocated buffer was too small.Gravatar rtogni2007-03-08
| | | | | | | From a patch by Nicholas Kain git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22495 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for smil playlist served over realrtspGravatar rtogni2007-02-18
| | | | | | | (audio and video playback only, not full smil support) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22260 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, fix inverted check for "<media" in smil playlistGravatar rtogni2007-01-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21928 b3059339-0415-0410-9bf9-f77b7e298cf2
* Skip empty lines in front of winamp playlist.Gravatar rtogni2006-11-10
| | | | | | | Fixes http://www.radioseven.se/radioseven.pls git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20850 b3059339-0415-0410-9bf9-f77b7e298cf2
* introduce new 'stream' directory for all stream layer related components and ↵Gravatar ben2006-07-31
| | | | | | split them from libmpdemux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19277 b3059339-0415-0410-9bf9-f77b7e298cf2
* relative-to-absolute path fixes: Do not prepend drive letter to \\ paths.Gravatar reimar2006-07-07
| | | | | | | Do not exit after prepending drive letter to first file, process other files as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18933 b3059339-0415-0410-9bf9-f77b7e298cf2
* several function from playtreeparser.c maked static,Gravatar reynaldo2006-07-06
| | | | | | | | | as these are not used outside. Patch by Stefan Huehner stefan AT huehner-org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18921 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 3Gravatar reynaldo2006-07-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary void* casts - part 1Gravatar reynaldo2006-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18874 b3059339-0415-0410-9bf9-f77b7e298cf2
* Doxygen Attack! - Chapter 3Gravatar albeu2006-04-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18266 b3059339-0415-0410-9bf9-f77b7e298cf2
* preliminary support for wpl playlists, closes #362Gravatar reynaldo2005-10-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16872 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't prepend basepath to a full unix path. ( 10l to Joey. )Gravatar al2004-09-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13306 b3059339-0415-0410-9bf9-f77b7e298cf2
* windows path seperator fixesGravatar joey2004-08-12
| | | | | | | | | | | | mp_basename now looks for \ and / both new playlist parsing: /path/to/thing is treated as a full path c:\windows is treated as a full path \windows is "near-full" and we prepend drive letter file.avi is relative and we prepend path to playlist git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13011 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for comments in plaintext playlist by adlandGravatar alex2004-06-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12690 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enhance detection of embedded smil playlist, add embedded ram playlistGravatar rtognimp2004-06-06
| | | | | | | | support Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix embedded smil playlist detection if there are parameters on the urlGravatar rtognimp2004-04-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12301 b3059339-0415-0410-9bf9-f77b7e298cf2
* Respect -playlist for asx streamsGravatar rtognimp2004-04-17
| | | | | | | Patch by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12224 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for smil playlist, both standalone and embedded into otherGravatar rtognimp2004-04-01
| | | | | | | | playlists. Pathc by adland git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12098 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the bug found by Martin WulffeldGravatar albeu2003-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10695 b3059339-0415-0410-9bf9-f77b7e298cf2
* Typos fixed, based on patch sent by Alex.Gravatar diego2003-07-27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10488 b3059339-0415-0410-9bf9-f77b7e298cf2
* output typo fixes: unknow --> unknownGravatar diego2003-07-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10398 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the incredible slowness with very long list. Now a 10^6 entriesGravatar albeu2003-04-02
| | | | | | | list take ~1 sec instead of several minutes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9790 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new config headersGravatar albeu2003-03-30
| | | | | | | Remove STREAMTYPE_PLAYLIST. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9750 b3059339-0415-0410-9bf9-f77b7e298cf2